MS-DOS Commands :: date


Displays or sets the computer's date. See also: time

Tip: If you want to set your computer's internal clock, it is recommended that you do that task via the Date and Time Control Panel (Start > Settings > Control Panel > Date and Time).

help 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.

(Enlarge: help date)