Date
Perform date and time operations. Date node in ActionFlows. Inputs, outputs, and how to use it.
Date
Overview
Perform date and time operations.
Inputs
Standard Inputs
Amountnumber · optional
The amount to add or subtract from the date
- Required
- No
- Multiple
- No
Formattext · optional
The format string for date formatting (e.g., YYYY-MM-DD)
- Required
- No
- Multiple
- No
Operationselect · optional
The type of date operation to perform
- Required
- No
- Multiple
- No
- Default
now- Options
- nowformataddsubtractparsecompare
Timezonetext · optional
The timezone to use for date operations (e.g., UTC, America/New_York)
- Required
- No
- Multiple
- No
Unitselect · optional
The time unit for date addition or subtraction
- Required
- No
- Multiple
- No
- Default
days- Options
- dayshoursminutessecondsweeksmonthsyears
Valuetext · optional
The date value to process (ISO format recommended)
- Required
- No
- Multiple
- No
Outputs
Is Validboolean
Whether the date is valid
Resulttext
The result of the date operation
Successboolean
Success state of the date operation
Timestampnumber
Unix timestamp of the date