Storing the date or time in a variable with the .date command

You can use the .date environment dot command to supply a variable with the current date or time. Use the command as the value of a variable. The system updates the variable with the result of the .date command when you run a project that uses the variable.

For example, a variable named MONTH with a value .date %B, when included in a project, is supplied to a job during May with the value "May".

See .date for more information about using this command, including a list of date format codes.


Feedback