End of Day

date-time · C281 · starter-package 7.0.1

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.

DirectionConnectorTypeRequired
Inputvalue — DateTimedatetimeyes
InputtimeZone — Time Zonetextyes
Outputresult — DateTimedatetimeon success
Outputdate — Local Datetexton success
OutputtimeZone — Time Zonetexton success
OutpututcOffset — UTC Offsettexton success