DATE

suggest change

Displays or sets the date. The way the date is displayed depends on country settings. Date can also be displayed using echo %DATE%.

Examples

$ date /t
Wed, 03/13/2019

$ echo %DATE%
Wed, 03/13/2019

Getting date in the ISO format, like 2000-01-28 is hard because the date format depends on country settings.

Links:

$ date /?
Displays or sets the date.

DATE [/T | date]

Type DATE without parameters to display the current date setting and
a prompt for a new one.  Press ENTER to keep the same date.

If Command Extensions are enabled the DATE command supports
the /T switch which tells the command to just output the
current date, without prompting for a new date.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents