Dates Operation
Adds or subtracts a time interval from a date and returns the new date. Use it for date maths in a flow, such as working out a deadline or a cut-off.
What it does
- Takes a date and adds or subtracts a value in the chosen time unit.
- Supports seconds, minutes, hours, days, months and years.
- Returns the resulting date.
Inputs
| Name | Type | Description |
|---|---|---|
| Date | String | Date |
| Operation | String | Subtract / add Possible values: subtract, add. |
| Time Unit | String | Time unit Possible values: seconds, minutes, hours, days, month, years. |
| Value | String | Values to subtract or to add |
Outputs
| Name | Type | Description |
|---|---|---|
| New Date | String | Date after changes |
Notes
- Operation must be
addorsubtract, and Value is the amount to apply in the selected time unit.
Updated 19 days ago
Did this page help you?