# Parse DateTime

Parses a DateTime string in your specified format and displays it in whichever timezone you choose with the following information:DateTimePeriod (AM/PM)TimezoneUTC offsetDaylight Saving TimeLeap yearDays in this monthDay of yearWeek numberQuarterRun with no input to see format string examples if required. Parse DateTime lives in the **Date & Time** category of the `fx` menu.

## Parameters

| Parameter           | Type   | Required | Default               | Description                                                                                                                    |
| ------------------- | ------ | -------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| Input               | string | yes      | —                     | Value to transform. Previous step output or a literal.                                                                         |
| Built in formats    | string | no       | —                     | Argument value for this operation.                                                                                             |
| Input format string | string | no       | `DD/MM/YYYY HH:mm:ss` | Argument value for this operation.                                                                                             |
| Input timezone      | string | no       | `UTC`                 | Choose one of: `UTC`, `Africa/Abidjan`, `Africa/Accra`, `Africa/Addis_Ababa`, `Africa/Algiers`, `Africa/Asmara`, and 590 more. |

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

## Returned value

| Type   | Description                                  |
| ------ | -------------------------------------------- |
| `html` | Result of the Parse DateTime transformation. |

## Example

<details>
<summary>Run Parse DateTime</summary>

Parses a DateTime string in your specified format and displays it in whichever timezone you choose with the following information:DateTimePeriod (AM/PM)TimezoneUTC offsetDaylight Saving TimeLeap yearDays in this monthDay of yearWeek numberQuarterRun with no input to see format string examples if required. 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 **Built in formats**, **Input format string**, **Input timezone** and keep defaults unless your format requires otherwise.

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

</details>
