Date Calculation

Add or subtract time from a date and format the result.

DataDateCalculation

What it does

Add or subtract time from a date and format the result.

Parameters

ParameterTypeRequiredDefaultDescription
Datestring
Requirednow'now' or a date string (ISO, or matching the input format).
Example: now
Supports variables
Operationdropdown
Add · Subtract
RequiredAdd
Amountnumber
Required1
Example: 7
Supports variables
Unitdropdown
seconds · minutes · hours · days · weeks
Requireddays
Input formatstring
Optionalstrptime format for the input (blank = ISO).
Example: %Y-%m-%d
Output formatstring
Optional%Y-%m-%d %H:%M:%Sstrftime format for the result.
Store result invariable
Required
Example: newDate

More Data commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.