Nortel 15000 用户指南
Managing the Versalar 15000
302768-C Rev 00
5-17
Resetting the Date and Time
The
date
command allows you to display or change the system date, time, or time
zone offset. The time is based on the 24-hour clock. The offset is the time
difference between the current time and Greenwich mean time (GMT).
difference between the current time and Greenwich mean time (GMT).
To display the system date, time, and GMT offset, enter the following command:
date
Mar 08, 2000 15:26:23 [GMT+12]
The GMT offset is stored as a direction (+ or -) and a value in hours and minutes.
Most time zone offset values are in hours and do not include minutes. For
example, the eastern standard time (EST) zone is 5 hours behind GMT, that is
GMT-5.
Most time zone offset values are in hours and do not include minutes. For
example, the eastern standard time (EST) zone is 5 hours behind GMT, that is
GMT-5.
To change the date, time, and GMT offset, enter the following command:
date
[
<mm/dd/yy] [<hh:mm:ss>]
[
{+
|
-}<hh:mm
>]
The console displays the new date, time, and time zone offset.
If you do not enter a parameter (for example, the date), the system uses the current
system setting.
system setting.
Changing the GMT offset changes the timestamps of messages in the event log.
For example, the GMT offset was 0 at 2:00 p.m. At 10:00 p.m., you access the
event log to check the messages that came in between 2:00 and 10:00. If you then
change the GMT offset to -2, the timestamp of each message in the event log is
offset by -2 hours (that is, if the timestamp was 2:00 p.m., it changes to
12:00 p.m.).
For example, the GMT offset was 0 at 2:00 p.m. At 10:00 p.m., you access the
event log to check the messages that came in between 2:00 and 10:00. If you then
change the GMT offset to -2, the timestamp of each message in the event log is
offset by -2 hours (that is, if the timestamp was 2:00 p.m., it changes to
12:00 p.m.).
Note:
When you change the date, time, and GMT offset, the operating system
distributes the new date and time to all processor cards.