Start of Day

date-time · C280 · starter-package 7.0.1

Resolve the first 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 00:00:00.000 on that local date. It never silently uses the computer's time zone.

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 midnight.

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