Skip to content

Temporal API

The Temporal nodes let you manipulate dates, times, and durations in your logic.

Available types

TypeExample
Date2026-04-28
Time14:30:00
DateTime2026-04-28T14:30:00
DurationPT3H25M

Operations

For each type, a set of nodes covers the common operations. Example for Date:

NodeEffect
Create DateCreates a date from its components (year, month, day).
Date FromParses a date from a string.
Date NowCurrent date.
Date AddAdds a Duration to the date.
SubstractSubtracts a Duration.
CompareCompares two dates.
Since / UntilComputes the duration between two dates.
To Date TimeConverts the date to a DateTime.

The Time, DateTime, and Duration types follow the same naming convention (Create DateTime, DateTime Add, etc.).

The Create Duration node is different: its inputs are optional. You check the units you want (years, months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds) and each check adds a numeric input on the node. The output is an ISO Duration.

Create Duration node with some units checked and their inputs