5.6 Checking the Time Setting
5.6 Checking the Time Setting
This section describes the procedure for setting the system date and time.
The date and time in the factory default settings are set in coordinated universal time (UTC). If you want to display the time in the local time (JST), first set the time zone and then check the time. Change the setting as needed.
The date and time in the factory default settings are set in coordinated universal time (UTC). If you want to display the time in the local time (JST), first set the time zone and then check the time. Change the setting as needed.
- Execute the showtimezone command to check the time zone.
The following example displays the factory default setting (UTC).
XSCF> showtimezone -c tz UTC |
- To set the time zone, execute the settimezone command, and check which time zones can be set.
If you do not want to set the time zone, skip steps 2 and 3.
The following example displays a partial list of time zones that can be set.
XSCF> settimezone -c settz -a Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers Africa/Asmara Africa/Asmera Africa/Bamako Africa/Bangui . . |
- To set the time zone, execute the settimezone command.
The following example sets the time zone to "Asia/Tokyo."
XSCF> settimezone -c settz -s Asia/Tokyo Asia/Tokyo |
- Execute the showdate command to display the XSCF time.
If you have set the time zone, the command displays the time in the local time (JST).
The following example displays the current time in the local time.
XSCF> showdate Sat Oct 20 14:53:00 JST 2012 |
- Execute the setdate command. Please execute it even when the time is correct.
Setting the date and time resets the XSCF.
The following example sets the local time (JST) to 16:59:00 October 20, 2012.
XSCF> setdate -s 102016592012.00 Sat Oct 20 16:59:00 JST 2012 The XSCF will be reset. Continue? [y|n] :y Sat Oct 20 7:59:00 UTC 2012 XSCF> |
Note - If the reboot is canceled, the XSCF does not reflect the setting values even when reboot is by the rebootxscf command. |
- Log in to the XSCF again.
For details, see "5.3 Logging In to the XSCF."
- Execute the showtimezone command.
Confirm that it shows the set time zone.
XSCF> showtimezone -c tz Asia/Tokyo |
- Execute the showdate command.
Confirm that it shows the set time.
XSCF> showdate Sat Oct 20 17:10:00 JST 2012 |
< Previous Page | Next Page >