# Convert date to text

The Convert date to text step allows to to cast a date column to a text column.

### Step parameters

* `Column to convert` **column(string)\***: the date column to be converted to text
* `Date format` **(string)\***: either `Custom` (to allow you to enter a custom format in the `custom format` parameter below), or a preset (e.g. “%d-%m-%Y”)
  * `Custom format:` only displayed and required if you selected ‘custom’ in the `Date format` parameter

### Example

**Input**

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-ea19e8d8b6bc18b5733e8e4fdeaaa142b1d47387%2Fdate_uat.png?alt=media" alt=""><figcaption><p>Date - Convert date to text input</p></figcaption></figure>

**Configuration**

```json
{
  "column": "date_column",
  "format": "%Y-%m-%d"
}
```

**Output**

<figure><img src="https://1809014303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZxYYf1KpgarKMgMsDCrw%2Fuploads%2Fgit-blob-a01928c9303316775a74a50185cad37143d59d4d%2Fdate_date-to-text.png?alt=media" alt=""><figcaption><p>Date - Convert date to text output</p></figcaption></figure>
