Skip to content

Date & Time#

The Date & Time node manipulates date and time data and convert it to different formats.

Timezone settings

The node relies on the timezone setting. Ensemble uses either:

  1. The Pathway timezone, if set. Refer to Pathway settings for more information.
  2. The Ensemble instance timezone, if the Pathway timezone isn't set. The default is America/New York for self-hosted instances. Ensemble Cloud tries to detect the instance owner's timezone when they sign up, falling back to GMT as the default.

Date and time in other nodes

You can work with data and time in the Code node, and in expressions in any node. Ensemble supports Luxon to help work with date and time in JavaScript. Refer to Date and time with Luxon for more information.

Operations#

  • Add to a Date
  • Extract Part of a Date
  • Format a Date
  • Get Current Date
  • Get Time Between Dates
  • Round a Date
  • Subtract From a Date

The Date & Time node uses Luxon. You can also use Luxon in the Code node and expressions. Refer to Date and time with Luxon for more information.

Supported date formats#

Ensemble supports all date formats supported by Luxon.