oem.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
Syntax
────────────────────────────────────────────────────────────────────────────
 
                                DATE──Notes
 
Adjusting for days in a month
 
MS-DOS is programmed to change months and years correctly, whether the month
has 28, 29, 30, or 31 days.
 
Using the DATE command in your AUTOEXEC.BAT file
 
To prompt users for the date every time the computer is restarted, include
the DATE command in your AUTOEXEC.BAT file.
 
Changing the date format
 
To display the date in other format besides mm-dd-yy, add the COUNTRY
command to your CONFIG.SYS file. You can change the date format to the
European standard format (dd-mm-yy) or to the Scientific International
(Metric) format (yy-mm-dd).
 
                                      ♦