# Converting Date Strings Into Dates

### **Syntax**

```
the strings are {string}, {string}, {string}
the department's timezone is {timezone}
if the strings is not empty then
    filter the strings into the dates
```

### **Inputs**

1. `string`
   * A text representation of a date.
   * **Example:** `2024-04-01`, `April 2nd, 2023`
2. `timezone`
   * The timezone of the agent.
   * **Example:** `EST`, `UTC`

### **Example**

```
the strings are "2024-10-01", "not a date", "October 22nd, 2024"
the department's timezone is "EST"
if the strings is not empty then
    filter the strings into the dates
```

#### **📖 Results**

* `2024-10-01`
* `2024-01-01`
