Q

A – Command Line Interface Date Command

Date Command

This command displays or sets the system date and time. To set the date and time the information string must be provided in this format: MMDDhhmmCCYY. The new date and time takes effect immediately.

Authority Admin to change the date; User to display the date.

Syntax date

[MMDDhhmmCCYY]

Keywords [MMDDhhmmCCYY]

Specifies the date – this requires an admin session. If you omit [MMDDhhmmCCYY], the current date is displayed – this is available with User authority.

Examples The following is an example of the Date command:

SANbox2 #> date

Mon Apr 07 07:51:24 2003

59048-02 A

A-11

Page 125
Image 125
Q-Logic 59048-02 A manual Date Command, Syntax date, Keywords MMDDhhmmCCYY