Timestamps are typically used for logging events or in a sequence of events (SOE), in which case each event in the log or SOE is marked with a timestamp. Especially useful when using Yarado in batch processing running tasks via Orchestrator every 15 minutes or another time interval.
Yarado offers multiple system variables out of the box. These are accessible via Help --> Show system variables
This will display all available system variables including %TIMESTAMP% variables
Yarado timestamps are formatted to be sorted in alphabetical order within Windows Explorer
In this Example, 1- first the timestamp is stored in the variable %timestamp%, 2- then a directory is created with timestamp as foldername, 3- Within this directory the file results.csv is created or appended with the results. The exact time is appended per line for logging purposes.
- As with normal variables, system variables can be used by typing the variable name in any input / step / edit box. When the step is processed the value is Replaced with the current date and time format. The System Variable function can be used to capture the current time (Now) into a variable for later use.
- Create a subdirectory within the task directory with the current the date and time
- Place log files within the directory for governance purposes