BuildForge Help

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. You use the command as the value of a variable, and 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 on using this command, including a list of date format codes.