Date Addition

This pre-built action, found under the @Generic element, instructs Avo Assure to add a specified number of days to a given date and store the result in a dynamic variable.

Syntax

Input Value: <date>;<number of days>;<current date format>

Supported date formats:

  1. dd/MM/yyyy

  2. MM/dd/yyyy

Argument
Description

<date> (Required)

Represents the base date from which days will be added

<number of days> (Required)

Specifies how many days to add from the given date.

<current date format> (Required)

The format in which the input date is provided

Output Value:

Argument
Description

<Dynamic Variable> (Required)

This variable stores the updated date

<Dynamic Variable> (Optional)

This variable stores the status as true or false

Example:

Add days to a given date in a specific format

The Date Addition action takes the value from the Input Value column (e.g., 15/04/2025;5;dd/MM/yyyy) and adds the specified number of days (5) to the given date (15/04/2025) based on the current date format (dd/MM/yyyy). The resulting date is stored in the {Updated Date} variable, and the action status is saved in the {Status} variable with the following possible values:

  • True – if the date was successfully updated

  • False – if the action failed

Last updated

Was this helpful?