Skip to content

The "Date-Time" Node ​

Creates a date-time object to do calculations with date and / or time. This inherits from the ECMAScript (JavaScript) date object. Although, behavior does not match 1:1. You can get each part of a date using the Get Attribute node, and the unix timestamp by converting it to a number using the Convert node.

Date-Time

  • Date Time
  • Value
  • Time Zone

Inputs ​

  • Value − The date, time, or date-time to set the date-time object to. Without this, date and time is set to now.
  • Time Zone − The time zone that Value is given in. Must be a IANA time zone name, like "America/New_York" or "-04:00". Defaults to UTC / GMT+0.

Outputs ​

  • Date Time − The created date-time object.