Get Current Date
This is a pre-built Action located under the @Generic Element. The functionality of this Action in Avo Assure is to fetch the current system date based on the format specified in the Input Value and store it in a dynamic variable for further use during test execution.
Syntax
Input Value: <format of date>
<format of date > (Required)
Provide the desired date format
Supported date formats: 1. dd/MMM/yyyy 2t. MMM/dd/yyyy 3. dd/MM/yyyy 4. MM/dd/yyyy
Output Value:
<Dynamic Variable> (Required)
This variable stores the formatted dates
<Dynamic Variable> (Optional)
This variable stores the status as true or false
Example: Retrieve the current date dd/MMM/yyyy format.
The Get Current Date action takes the format (dd/MMM/yyyy) as input in the Input Value column and retrieves the current system date in the same format (dd/MMM/yyyy). The formatted result is stored in the {Current Date} variable, while the status of the action is saved in the {Status} variable, with the following possible values:
True – if the date is retrieved and formatted successfully
False – if the action fails or the format is invalid

Knowledge Bites: Below are some examples of different dates formatted scenarios
dd/MM/yyyy
dd/MM/yyyy
15/04/2025
MM/dd/yyyy
MM/dd/yyyy
04/15/2025
dd/MMM/yyyy
dd/MMM/yyyy
15/Apr/2025
MMM/dd/yyyy
MMM/dd/yyyy
Apr/15/2025
Last updated
Was this helpful?