Add or subtract from DateTime transform action
Last updated
Was this helpful?
Last updated
Was this helpful?
You would like to programmatically determine what the date was thirty days ago.
Add or Subtract from a DateTime
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.
Result from Example 1 (if run on 04/16/2025):