Extracts a complete, consistent set of calendar and clock parts from one DateTime.
Inputs
- DateTime (DateTime, required): a valid DateTime value.
- UTC Offset (text, default
Z):Zor a fixed±HH:MMoffset from -14:00 through +14:00.
Outputs
- Year, Month, Day, Hour, Minute, Second, and Millisecond (numbers).
- Weekday (number): ISO weekday 1 for Monday through 7 for Sunday.
- UTC Offset (text): the normalized offset used to calculate the parts.
The same instant can produce different calendar parts at different offsets. Fixed offsets keep the result deterministic and make daylight-saving choices explicit.
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.
An invalid DateTime, unsafe field name, or invalid UTC offset stops the workflow with a clear message.
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.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | value — DateTime | datetime | yes |
| Input | utcOffset — UTC Offset | text | no |
| Output | year — Year | number | on success |
| Output | month — Month | number | on success |
| Output | day — Day | number | on success |
| Output | weekday — Weekday | number | on success |
| Output | hour — Hour | number | on success |
| Output | minute — Minute | number | on success |
| Output | second — Second | number | on success |
| Output | millisecond — Millisecond | number | on success |
| Output | utcOffset — UTC Offset | text | on success |
