Quincy Center for Technical Education
Computer Technology Department

Date

Displays the date or allows you to change the date from your computer or from a batch program.

date [mm-dd-yy]

date [/t]

Parameters

mm-dd-yy

Sets the date you specify. Values for day, month, and year must be separated by periods (.), hyphens (-), or slash marks (/).

mm can be 1 through 12

dd can be 1 through 31

yy can be 80 through 99 or 1980 through 2099

/t

Tells the command to display the current date without prompting for a new date.

For more information, click Time in the Related Topics list.