Skip to content

Modify date with duration

The date to adjust with given duration. Must be a valid ISO8601 date. Modify date with duration lives in the Date & Time category of the fx menu.

ParameterTypeRequiredDefaultDescription
Inputstringyes—Value to transform. Previous step output or a literal.
OperatorstringyesAddThe operator to use on the input date.
Years to adjustnumberno—The number of years to adjust.
Months to adjustnumberno—The number of months to adjust.
Weeks to adjustnumberno—The number of weeks to adjust.
Days to adjustnumberno—The number of days to adjust.
Hours to adjustnumberno—The number of hours to adjust.
Minutes to adjustnumberno—The number of minutes to adjust.
Seconds to adjustnumberno—The number of seconds to adjust.
Milliseconds to adjustnumberno—The number of milliseconds to adjust.
UTC outputbooleannofalseWhether to force UTC as the output. By default, the timezone of the input date will be used if specified.

Input is the primary value (previous step output or a literal).

TypeDescription
stringResult of the Modify date with duration transformation.
Run Modify date with duration

The date to adjust with given duration. Adjust optional parameters when the defaults do not match your payload.

  1. Set Input to the value to transform (previous step output or a literal).

  2. Review Operator, Years to adjust, Months to adjust, Weeks to adjust, Days to adjust, and other options and keep defaults unless your format requires otherwise.

  3. Confirm Output value shows the transformed result.