Date Ü
ßßßßß
Displays the date and prompts you to change the date if necessary.
FreeDOS 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]yy]
mm-dd-[yy]yy
The new month, date and year. Values for day, month, and year
must be separated by periods (.), hyphens (-), slash marks (/),
or spaces. The date format depends on the country setting you
are using in your CONFIG.SYS file. The following table 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
Type DATE without parameters to display the current system date.
Adjusting for days in a month
FreeDOS is programmed to change months and years correctly, whether the
month has 28, 29, 30, or 31 days.
Changing the date format
It is possible to change the mm-dd-yy format to display the date in
other formats. You can add the country command to your CONFIG.SYS file
to change the date format to the European standard (dd-mm-yy) or to
the Scientific International (metric) format (yy-mm-dd).
See also:
Time