Dos - Date and Time

About

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.

Powered by ComboStrap