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

NameTypeDescription
DateStringDate
OperationStringSubtract / add Possible values: subtract, add.
Time UnitStringTime unit Possible values: seconds, minutes, hours, days, month, years.
ValueStringValues to subtract or to add

Outputs

NameTypeDescription
New DateStringDate after changes

Notes

  • Operation must be add or subtract, and Value is the amount to apply in the selected time unit.

Did this page help you?