Skip to main content

6.6 Checking the Time Setting

6.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.
  1. Execute the showtimezone command to check the time zone.
    The following example displays the factory default setting (UTC).
XSCF> showtimezone -c tz
  1. 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
  1. 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
  1. 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
  1. 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
Note - If the reboot is canceled, the XSCF does not reflect the setting values even when reboot is by the rebootxscf command.
  1. Log in to the XSCF again.
    For details, see "6.3  Logging In to the XSCF."
  1. Execute the showtimezone command.
    Confirm the set time zone.
XSCF> showtimezone -c tz
  1. Execute the showdate command.
    Confirm the set date and time.
XSCF> showdate
Sat Oct 20 17:10:00 JST 2012