Skip to main content

Date & Time

Category: Processing

Description: Retrieves the current date and time or parses a Unix timestamp into formatted text and individual calendar components (year, month, day, hour, minute, second, and day of week) in UTC or a specified IANA timezone.

info

If the Timezone input is left blank, UTC is used by default. You can provide any valid IANA timezone identifier such as 'Europe/London' or 'America/New_York'.

Current Time​

Outputs the current timestamp, formatted date, and date/time components in the specified timezone (defaults to UTC).

Inputs​

NameTypeRequiredDescription
TimezonetextfalseOptional IANA timezone (e.g. 'UTC', 'Europe/London', 'America/New_York'). Defaults to 'UTC'.

Outputs​

NameTypeDescription
TimestampnumberThe current Unix timestamp in seconds
Formatted DatetextThe date and time formatted as YYYY-MM-DD HH:mm:ss
YearnumberThe four-digit year
MonthnumberThe month of the year (1-12)
DaynumberThe day of the month (1-31)
HournumberThe hour of the day in 24-hour format (0-23)
MinutenumberThe minute of the hour (0-59)
SecondnumberThe second of the minute (0-59)
Day of WeektextThe full name of the day of the week (e.g. 'Monday')

Output Event Triggers​

Name
Success
Error

Parse Timestamp​

Parses a Unix timestamp (in seconds or milliseconds) into a formatted date and individual components in the specified timezone.

Inputs​

NameTypeRequiredDescription
TimestampnumbertrueThe Unix timestamp to parse (in seconds or milliseconds)
TimezonetextfalseOptional IANA timezone (e.g. 'UTC', 'Europe/London', 'America/New_York'). Defaults to 'UTC'.

Outputs​

NameTypeDescription
Formatted DatetextThe date and time formatted as YYYY-MM-DD HH:mm:ss
YearnumberThe four-digit year
MonthnumberThe month of the year (1-12)
DaynumberThe day of the month (1-31)
HournumberThe hour of the day in 24-hour format (0-23)
MinutenumberThe minute of the hour (0-59)
SecondnumberThe second of the minute (0-59)
Day of WeektextThe full name of the day of the week (e.g. 'Monday')

Output Event Triggers​

Name
Success
Error

Examples​

Parse Unix timestamp in UTC​

Inputs

  • Timestamp:

    1704067200
  • Timezone:

    "UTC"

Outputs

  • Formatted Date:

    "2024-01-01 00:00:00"
  • Year:

    2024
  • Day of Week:

    "Monday"