Format Date

date-time · C282 · starter-package 7.0.1

Render a DateTime with a bounded locale-independent token format in an selected time zone.

Inputs

  • DateTime (datetime, required): valid DateTime value.
  • Format (text, required): strict text.
  • Time Zone (text, required): strict text.

Outputs

  • Text (text): strict text.

How it behaves

Supports only {YYYY}, {MM}, {DD}, {HH}, {mm}, {ss}, {SSS}, {offset}, and {zone}. Use doubled braces for literal braces. Month and day names are intentionally absent, so locale never changes output.

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.

The workflow stops for an invalid date, unknown time zone or format token, unmatched braces, text that is too long, or a date the selected time zone cannot represent.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputvalue — DateTimedatetimeyes
Inputformat — Formattextyes
InputtimeZone — Time Zonetextyes
Outputresult — Texttexton success