Command: date
DATE displays or sets the date.
Syntax:
DATE [newdate]
DATE [/D] [/?]
Type DATE without parameters to display the current date setting
and a prompt for a new one. Press ENTER to keep the same date.
Options:
newdate mm-dd-yy or mm-dd-yyyy
mm/dd/yy or mm/dd/yyyy
mm.dd.yy or mm.dd.yyyy
The new date for your system.
Values for the day (dd), month (mm), and year (yy or yyyy)
may be seperated by periods, hyphens,
or slashes. Either a 4-digit or 2-digit year may be used.
/D Displays the date without prompting for a new setting.
/? Shows the help.
Comments:
If a 2-digit year is specified, then years from 00-79 are assumed
to mean 2000-2079. Years from 80-99 are assumed to mean 1980 - 1999.
When prompted for a new time, press enter to accept the current
setting without changing it.
DATE is a command internal to command.com and needs no other file
in order to work.
Examples:
date 04-22-2007 or date 04-22-07
date 04/22/2007 or date 04/22/07
date 04.22.2007 or date 04.22.07
See also:
time
------------------------------------------------------------------------------
Copyright (C) 1998 Jim Hall, updated 2007 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.