Index | Notes
Format in other countries


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.
-Top- | Notes DATE.BAT | TIME