Dos - Date and Time
About
Articles Related
Variable
To get the current date and time, use the two following variables:
- %DATE% - expands to current date using same format as DATE command.
- %TIME% - expands to current time using same format as TIME command.