Get Current Day,Date,Time
Last updated
Last updated
Description and Usage: This is a pre-built action in Avo Assure which is Located under the @Generic element category. It instructs the Avo Assure Client to fetch the current day, date and time from the system and store the result in the output variable.
Syntax:
Input: N/A
Output: <Dynamic Variable> ;< Dynamic Variable> (Optional)
Use case/example:
Scenario: Task Deadline Management System
Consider a scenario where a user is testing a task management application where They can create tasks with deadlines. The application should automatically check whether tasks are overdue or upcoming based on the current Day, Date,Time. To ensure that the task management application correctly identifies tasks as Due Date based on their deadlines relative to the current date and time.
The current Day, Date,Time to match the task's deadline.
Check the status of the task.
Expected output: It should be verifying the task deadlines and then Identifies task status should be Due Today.
Output: The action performed and saves Current Day, Date,Time in the {result} output variable as Friday 11/10/2024 04:31:25.