Get date & time
New in 2021!   Eonza automation software - free, open source cross-platform automation software for easy creation and management of scripts.

Get date & time

Gets the current date and time (year, month, day, hour, minute, second).

Description
Optionally, you may add comments here describing the purpose of this element.
Variable name
The name of the variable the date and time information will be written to. This command specifies some variables with different postfix and assign them the according information.
Add or subtract days
You can add or subtract days to the current date.
30
-7 
There are the following result variables:

Variable nameDescription
[var]year Year.
[var]month Month.
[var]day Day.
[var]hour Hours.
[var]minute Minutes.
[var]second Seconds.
[var]stime The date and time as SSMMHHDDMMYYYY.

Example, if you specified variable name as dt then

#dtday# - the current day 
#dtmonth# - the current month