SpartaDOS X Reference Manual

The Command Processor — Commands




DATE  Command

Index


Purpose

This command displays the current date and allows you to set the date.
 

Syntax DATE
 
Type Internal
 
Related CHTD, TD, TIME
 
Remarks   This command produces the following output

    Current date is  6-24-88
    Enter new date:

You may enter the new date or press <RETURN> if you don't want to set a new date. Enter the date in the format "mm-dd-yy" where "mm" is the month, "dd" is the day, and "yy" is the year.

This command will produce meaningless results if you do not have a clock driver installed in your system. The two clock drivers are "CLOCK.SYS" and "JIFFY.SYS" — the first using the R-Time 8 en and the second using the jiffy counter to keep its time. By default, one of these drivers will be installed when you boot, but this can be overridden by creating a custom "CONFIG.SYS" file and not including these drivers in the configuration.


Previous page

Next page