Add or subtract from DateTime transform action
Use case
You would like to programmatically determine what the date was thirty days ago.
Overview

Add or Subtract from a DateTime
Parameters
DateTime to add or subtract from
Use https://strftime.org/ for various options
Days to add or subtract
Integer value for how many days to add or subtract.
Hours to add or subtract
Integer value for how many hours to add or subtract.
Microseconds to add or subtract
Integer value for how many microseconds to add or subtract.
Minutes to add or subtract
Integer value for how many minutes to add or subtract.
Months to add or subtract
Integer value for how many months to add or subtract.
Seconds to add or subtract
Integer value for how many seconds to add or subtract.
Years to add or subtract
Integer value for how many years to add or subtract.
Usage
Results output
Result from Example 1 (if run on 04/16/2025):
"2025-05-16T00:00:00+00:00"
Last updated
Was this helpful?