Get Current Date
Last updated
Was this helpful?
Last updated
Was this helpful?
This pre-built action in Avo Assure, located under @Generic Element, instructs the Avo Assure to fetches the current date from the system based on the format specified by the user in the Input Value and stores the date in dynamic variable.
Syntax
Input Value: <format of date>
<format of date > (Required)
Accepted input formats: 1. dd/MMM/yyyy 2. MMM/dd/yyyy 3. dd/MM/yyyy 4. MM/dd/yyyy
Output Value:
<Dynamic Variable>
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