A

A – Command Reference Commands

Date Command

Displays or sets the date and time. To set the date and time, you must enter the information in this format: MMDDhhmmCCYY. The new date and time takes effect immediately.

Authority Admin session to set the date and time. No authority required to display the current date and time

Syntax date

[MMDDhhmmCCYY]

Keywords [MMDDhhmmCCYY]

Specifies the date—this requires an Admin session. If you omit [MMDDhhmmCCYY], the command displays the current date, which does not require an admin session.

Notes You must disable the network time protocol (NTP) to set the time with the date command. Refer to the set ntp command on page A-34for information about NTP.

Examples The following example shows the date command:

QRouter (admin) #> date 010314282008

Tue Jan 1 14:28:00 2008

QRouter (admin) #> date

Tue Jan 1 14:28:14 2008

FI0154601-00 C

A-9

Page 141
Image 141
Q-Logic 6140 manual Date Command, Syntax date, Keywords MMDDhhmmCCYY