# From UNIX Timestamp

Convert UNIX Timestamp to a DateTime string. Always returns datetime in UTC. From UNIX Timestamp 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.                   |
| Timestamp unit     | string | yes      | `Seconds`                 | The unit of the input timestamp.                                         |
| Date output format | string | no       | `yyyy-MM-dd'T'HH:mm:ssZZ` | The format of the output date (optional). By default it will be ISO8601. |

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

## Returned value

| Type     | Description                                       |
| -------- | ------------------------------------------------- |
| `string` | Result of the From UNIX Timestamp transformation. |

## Example

<details>
<summary>Run From UNIX Timestamp</summary>

Convert UNIX Timestamp to a DateTime string. 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 **Timestamp unit**, **Date output format** and keep defaults unless your format requires otherwise.

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

</details>
