add-days
function
The add-days
action adds days to a given date. It belongs to the datetime category within the data area.
Action Syntax
add-days 123 to $variable
A numeric value followed by a value followed by A variable name starting with $
add-days $variable to $variable
A variable name starting with $ followed by a value followed by A variable name starting with $
add-days 123 to YYYY-MM-DD
A numeric value followed by a value followed by A date in YYYY-MM-DD format
add-days $variable to YYYY-MM-DD
A variable name starting with $ followed by a value followed by A date in YYYY-MM-DD format
Return Value
This function returns a
RESPONSE
value that can be stored in a variable:
$result = add-days
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
$DT_DATEONLY = add-days 10 to $date
Action code: 3752889039
Version: 0.6.4
Last updated: 2025-06-13