# Extract dates

Extracts dates in the following formats`yyyy-mm-dd``dd/mm/yyyy``mm/dd/yyyy`Dividers can be any of /, -, . or space. Extract dates lives in the **Extractors** category of the `fx` menu.

## Parameters

| Parameter     | Type    | Required | Default | Description                                            |
| ------------- | ------- | -------- | ------- | ------------------------------------------------------ |
| Input         | string  | yes      | —       | Value to transform. Previous step output or a literal. |
| Display total | boolean | no       | `false` | Disabled by default.                                   |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                 |
| -------- | ------------------------------------------- |
| `string` | Result of the Extract dates transformation. |

## Example

<details>
<summary>Run Extract dates</summary>

Extracts dates in the following formats`yyyy-mm-dd``dd/mm/yyyy``mm/dd/yyyy`Dividers can be any of /, -, . Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform (previous step output or a literal).

2. Review **Display total** and keep defaults unless your format requires otherwise.

3. Confirm **Output value** shows the transformed result.

</details>
