home *** CD-ROM | disk | FTP | other *** search
- ------------------------ DATE - Internal DOS Command -------------------------
-
- DATE displays and/or sets the date known to the system.
-
- FORMAT: DATE [mm-dd-yy] or DATE [mm/dd/yy]
-
- REMARKS:
-
- mm - one or two digits (1-12) for the month
- dd - one or two digits (1-31) for the day
- yy - last two digits (80-99) of the year
-
- Entering DATE with no parameters will display the current date setting and
- prompt you for a new date. If you do not want to change the date, press the
- RETURN key.
-
- DOS will prompt you for the date and time when the system is started, unless
- it finds an AUTOEXEC.BAT file. If you use an AUTOEXEC.BAT file, you may want
- to include DATE and TIME commands in that file.
-
- EXAMPLES:
-
- Set the date to 3/15/85:
-
- DATE 3-15-85 or DATE 3/15/85
-
- Or you can first display the date and let DOS prompt you for a new one:
-
- DATE
- Current date is Mon 1-18-1982
- Enter new date: 3-15-85 <-- enter 3-15-85 and press RETURN
-
-
- Display the date and leave it unchanged:
-
- DATE
- Current data in Mon 1-18-1982
- Enter new date: <-- press RETURN only