> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Format Date/Time

> Convert a date and time into display-ready text.

**Format Date/Time** renders one instant in a chosen timezone. Use preset date
and time styles for localized English output, or enable a custom formatting
expression for exact control.

## Inputs

| Input                           | Type        | Required | Description                                 |
| ------------------------------- | ----------- | -------- | ------------------------------------------- |
| **Date & Time**                 | Date & Time | Yes      | The instant to format.                      |
| **Use a formatting expression** | Boolean     | No       | Switch from presets to a custom expression. |
| **Timezone**                    | String      | Yes      | IANA timezone used to display the instant.  |

The timezone defaults to the browser's current timezone when the node is
created.

<Tabs>
  <Tab title="Preset styles">
    **Date Style** and **Time Style** each support `short`, `medium`, `long`,
    `full`, or `none`. Defaults are `medium` for the date and `short` for the
    time. Choose `none` to omit either part.
  </Tab>

  <Tab title="Expression">
    **Expression** uses Day.js formatting tokens and defaults to
    `DD/MM/YYYY h:mm`.

    For example, `YYYY-MM-DD HH:mm` can produce `2026-07-24 15:30`.
  </Tab>
</Tabs>

## Output

| Output        | Type   | Description                          |
| ------------- | ------ | ------------------------------------ |
| **Formatted** | String | The formatted date and time as text. |

<Warning>
  Toggling expression mode replaces the preset inputs. Check the format after
  switching an existing node.
</Warning>
