Workflows
Blocks
Actions
Date Helper

Date Helper Action Block

The Date Helper Action Block provides comprehensive date and time manipulation capabilities. Format dates, extract components, calculate differences, and perform date arithmetic with full timezone support.

No authentication required. All date operations run locally using the dayjs library.

Supported Actions

Get Current Date

Returns the current date/time in a specified format and timezone.

Configuration:

  • Time Format: Select from 15+ predefined formats (e.g., YYYY-MM-DD, MM/DD/YYYY)
  • Time Zone: Choose from 15+ common timezones

Format Date

Converts a date from one format and timezone to another.

Configuration:

  • Input Date: The date string to convert (supports {{variables}})
  • From Format / From Timezone: Source format and timezone
  • To Format / To Timezone: Target format and timezone

Extract Date Parts

Extracts specific components from a date string.

Extractable Units: Year, Month, Day, Hour, Minute, Second, Day of Week, Month Name

Date Difference

Calculates the difference between two dates in selected units.

Configuration:

  • Start Date / End Date: The two dates to compare
  • Units: Year, Month, Day, Hour, Minute, Second

Add/Subtract Time

Adds or subtracts time from a date using expressions.

Expression Syntax:

+ 2 day + 1 hour
+ 1 year - 3 day - 2 month
+ 5 minute

Supported Formats

FormatExample
YYYY-MM-DD2023-09-17
MM/DD/YYYY09/17/2023
DD/MM/YYYY17/09/2023
YYYY-MM-DDTHH:mm:ss2023-09-17T11:23:58
MMMM DD YYYYSeptember 17 2023
X (Unix)1694949838

Use Cases

  • Scheduling follow-up actions based on calculated dates
  • Converting dates between timezones for international workflows
  • Extracting date components for conditional logic
  • Calculating time elapsed between events
Indite Documentation v1.6.0
PrivacyTermsSupport