Specifications
Version 2.0
97
Shell > date 8/4/97
Shell > date
08/04/2097
Shell >
Shell > date 8/4/98
Shell > date
08/04/1998
Shell >
The range of valid years is from 1998–2099.
Standard-Format Output
The standard-format from the date command has a single table: Date, with the
following columns:
Table 14Date Command Table
Column Description
2 Day (from 1-31)
3 Month (from 1-12)
4 Year (from 1998-2099)
Status Codes Returned
SHELL_SUCCESS The action was completed as requested.
SHELL_DEVICE_ERROR There was a hardware error preventing the completion of this
command
SHELL_SECURITY_VIOLATION This function was not performed due to a security violation
SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly formatted or its
value was out of bounds.
Examples
• To display the current date in the system:
fs0:\> date
06/18/2001
• To set the date with long year format:
fs0:\> date 01/01/2050
fs0:\> date
01/01/2050
• To set the date with short year format:
fs0:\> date 06/18/01
fs0:\> date
06/18/2001










