Resolve the final millisecond of a DateTime's local calendar day in an selected time zone.
Inputs
- DateTime (datetime, required): valid DateTime value.
- Time Zone (text, required): strict text.
Outputs
- DateTime (datetime): valid DateTime value.
- Local Date (text): strict text.
- Time Zone (text): strict text.
- UTC Offset (text): strict text.
How it behaves
Converts the DateTime to the selected time zone and returns 23:59:59.999 on that local date. Daylight-saving changes are handled correctly.
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 unknown time zone, a date that the selected time zone cannot represent, an invalid date, or a skipped or repeated end time.
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 | timeZone — Time Zone | text | yes |
| Output | result — DateTime | datetime | on success |
| Output | date — Local Date | text | on success |
| Output | timeZone — Time Zone | text | on success |
| Output | utcOffset — UTC Offset | text | on success |
