Convert to Date

date-time · A187 · starter-package 7.0.1

The Convert to Date block for Nodestly workflows converts a value into a date or time.

Use it when

Normalize timezone-qualified ISO text, epoch milliseconds, or DateTime into a valid instant.

Inputs and outputs

  • Value — any, required.
  • DateTime — output datetime.

Controls

This object has no hidden settings; behavior is fully determined by connected input.

Rules

Text must be a valid ISO-8601 instant with an explicit Z or numeric UTC offset. Whole epoch milliseconds and valid DateTime are also accepted. Calendar overflow and timezone-free local dates fail.

Example

2026-08-05T12:30:00+02:00 becomes 2026-08-05T10:30:00.000Z.

Failure behavior

Missing inputs, wrong connector values, unsafe records, unsupported values, cycles, unsupported modes, and size-limit violations stop the workflow and mark this block. Correct the highlighted connector or setting, then run again. Inputs are never changed.

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.

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 — Valueanyyes
Outputresult — DateTimedatetimeon success