Add Duration

date-time · C278 · starter-package 7.0.1

Add an exact non-negative millisecond Duration of at most 100 years to a DateTime.

Inputs

  • DateTime (datetime, required): valid DateTime value.
  • Duration (duration, required): valid non-negative Duration value.

Outputs

  • DateTime (datetime): valid DateTime value.

How it behaves

Adds the exact milliseconds from a valid Duration value. Durations are non-negative whole milliseconds and bounded to 100 years by Nodestly's workflow data rules.

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.

Execution stops for malformed structured values, a Duration outside its bound, or DateTime overflow.

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