Month Addition

This is a pre-built action in Avo Assure which is Located under the @Generic element category. It instructs the Avo Assure Client to add the given month with the month count and save the results in the output variable.

Syntax

Input: <date>; <number of months>; <current date format>

Supported date formats:

  1. dd/MM/yyyy

  2. MM/dd/yyyy

  3. MMM/dd/yyyy

  4. dd/MMM/yyyy

Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)

Use case/Example

Scenario: Verifying Date Calculations in a Financial Application

Consider a scenario where you are testing financial application. It ensures that the financial application correctly calculates future dates by adding a specified number of months to a given date, which is important for generating accurate financial reports. A financial application allows users to forecast future payment due dates based on the current date. It verifies that the application correctly adds months to the current date when generating payment schedules.

Input

  1. current date: 22/10/2024

  2. no. of add months: 06

Expected Result

The system should calculate the future payment due date as 22/04/2025.

Output

The action performed and saves the resultant date in {result} output variable as 22/04/2025.

Last updated

Was this helpful?