Skip to main content
datetime icon

Date/Time Connector

Connector Changelog

Description​

The Date/Time component is a collection of actions for working with Date/Time values. You can fetch the current time, convert timestamps between time zones, and more.

Actions​

Adjust Date/Time​

Add/Remove the specified seconds, minutes, hours, and days from the specified Date/Time | key: adjustDateTime

InputNotesExample
Date/Time

A reference to a JavaScript Date object or an ISO timestamp string

2021-03-05T16:20:42.377Z
Days

Specifies the number of days to use for adjusting the associated Date/Time

0
Hours

Specifies the number of hours to use for adjusting the associated Date/Time

0
Minutes

Specifies the number of minutes to use for adjusting the associated Date/Time

0
Seconds

Specifies the number of seconds to use for adjusting the associated Date/Time

0
Example Payload for Adjust Date/Time⤓
Loading…

Convert Date To Epoch​

Convert the given Date to a seconds/milliseconds Epoch. | key: convertToEpoch

InputNotesExample
Date/Time

A reference to a JavaScript Date object or an ISO timestamp string

2021-03-05T16:20:42.377Z
Display Epoch In Seconds

When true, formats the given date as Epoch time in seconds instead of milliseconds.

false
Example Payload for Convert Date To Epoch⤓
Loading…

Convert Date/Time To ISO String​

Convert the given Date/Time to an ISO string | key: convertToISOString

InputNotesExample
Date/Time

A reference to a JavaScript Date object or an ISO timestamp string

2021-03-05T16:20:42.377Z
Time Zone

Specifies the timezone to use for converting to a localized ISO timestamp string

America/Chicago
Example Payload for Convert Date/Time To ISO String⤓
Loading…

Convert Date/Time To Local ISO String​

Convert the given Date/Time to an ISO string in local time using specified timezone | key: convertToLocalISOString

InputNotesExample
Date/Time

A reference to a JavaScript Date object or an ISO timestamp string

2021-03-05T16:20:42.377Z
Time Zone

Specifies the timezone to use for converting to a localized ISO timestamp string

America/Chicago
Example Payload for Convert Date/Time To Local ISO String⤓
Loading…

Convert Epoch Timestamp To Date​

Convert the given Epoch timestamp to a ISO String Date. | key: convertFromEpoch

InputNotesExample
Epoch Timestamp in Seconds

When true, treats the given timestamp as seconds instead of milliseconds.

false
Epoch Timestamp

The epoch timestamp to convert to a date.

1712686206
Example Payload for Convert Epoch Timestamp To Date⤓
Loading…

Format Date/Time​

Change the format of a timestamp given a format string | key: formatDateTime

InputNotesExample
Date/Time

A reference to a JavaScript Date object or an ISO timestamp string

2021-03-05T16:20:42.377Z
Format

The format of the output timestamp. Use YYYY for year, MM for month, DD for day, HH for 24 hour, hh for 12 hour clock, mm for minute, ss for second, SSS for milliseconds and Z for timezone offset.

YYYY-MM-DDTHH:mm:ss.SSSZ
Time Zone

Specifies the timezone to use for converting to a localized ISO timestamp string

America/Chicago
Example Payload for Format Date/Time⤓
Loading…

Get Current Date/Time​

Return the current Date/Time in UTC | key: getCurrentDateTime

InputNotesExample
Display Epoch In Seconds

When true, returns the current Date/Time as Epoch time in seconds.

false
Example Payload for Get Current Date/Time⤓
Loading…

Changelog​

2026-10-08​

Updated time zone selection and added configuration-time support across all actions:

  • Updated the Time Zone dropdown to also list alias time zone names, such as Iceland and Africa/Dakar
  • Updated the default Time Zone on the Format Date/Time action to Etc/UTC so it matches a value in the dropdown
  • Added output schemas across all actions for improved field mapping during configuration
  • Added inline action calling support across all actions for improved example output during configuration