After you configure this command, the system will synchronize the hardware time with the current software
time according to the time zone and summer time settings of the device.
The following example enables the system to synchronize the hardware time with the software time.
Ruijie# clock update-calendar
Set the hardware time from the system clock.
The following example sets the time zone of the hardware time to GMT+5:10, which indicates that the
hardware time is 5:10 slower than the software time. The summer time is not set.
Ruijie# show clock
09:30:21 TSZ Wed, Feb 29, 2012
Ruijie# clock update-calendar
Set the hardware time from the system clock.
Ruijie#show calendar
04:20:25 UTC Wed, Feb 29, 2012
The following example sets the hardware time. If it is set to GMT+5:10 and the summer time is set to be
1:15 faster from the first Monday in February 1 to the second Sunday in June 1, it indicates that the
hardware time is 6:25 slower than the software time during the effective period of the summer time.