help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DATE
Notes
────────────────────────────────────────────────────────────────────────────
 
                                    DATE
 
Displays the date and prompts you to change the date if necessary.
 
MS-DOS records the current date for each file you create or change; this
date is listed next to the filename in the directory.
 
Syntax
 
    DATE [mm-dd-yy]
 
Parameter
 
mm-dd-yy
    Sets the date you specify. Values for day, month, and year must be
    separated by periods (.), hyphens (-), or slash marks (/). The date
    format depends on the COUNTRY setting you are using in your CONFIG.SYS
    file. The following list shows the valid values for the month, day, and
    year portions of the mm-dd-yy parameter.
 
    mm    1 through 12
 
    dd    1 through 31
 
    yy    80 through 99    or    1980 through 2099
 
Related Command
 
For information about changing the current time, see the <TIME> command.
 
                                      ♦