Specifications
96 Version 2.0
date
Summary
Displays and sets the current date for the system.
Usage
date [mm/dd/[yy]yy][-sfo]
Options
mm
Month of the date to be set (1-12)
dd
Day of the date to be set (1-31)
yy/yyyy
Year of the date to be set. If only two digits, then 9x = 199x, otherwise 20xx.
-sfo
Standard-format output. See "Related Definitions" below.
Description
This command displays and/or sets the current date for the system. If no parameters
are used, it shows the current date. If a valid month, day, and year are provided, then
the system's date will be updated. Detailed rules are listed below:
Except for numeric characters and /, all other characters in the argument are invalid.
The Shell will report an error if the number is in the wrong month/date/year range.
Space before or after the numeric character is not allowed. Inserting a space into the
number is invalid.
Repeated zeros are allowed before the number. For example:
Shell > date 0000008/000004/000097
Shell > date
08/04/2097
Shell >
The year range is greater than or equal to 1998. Two numeric characters indicate the
year. Numbers below 98 are regarded as 20xx, and numbers equal to or above 98 are
regarded as 19xx. 00 means 2000. For example:










