Microsoft DOS date command

Quick links

About chkdsk
Availability
Syntax
Examples

About date

The date command can be used to look at the current date of the computer as well as change the date to an alternate date.

Availability

The date command is an internal command and is available in

MS-DOS 5.0 and above
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP
Windows Vista
Windows 7

Syntax

Displays or sets the date.

DATE [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.

Examples

date

Display the current date and prompt for a new one. If no date is entered, the current date will be kept.

Additional information