settimezone(8)
EXAMPLES
310
SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised October 2010
The addition of the offset time to the standard time which has been set by the
■
settimezone(8) command comes to GMT.
The current time zone settings can be checked by using the showtimezone(8)
■
command.
To apply the Daylight Saving Time information modified by the "-c adddst" or
■
the "-c adddst" option, log out of XSCF and then log in again.
Sets "Asia/Tokyo" as the time zone.
EXAMPLE 1
XSCF> settimezone -c settz -s Asia/Tokyo
Asia/Tokyo
Lists the time zones that can be set.
EXAMPLE 2
XSCF> settimezone -c settz -a
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Asmera
Africa/Bamako
Africa/Bangui
.
.
Sets the Daylight Saving Time information as follows: abbreviation of time
EXAMPLE 3
zone is JST, offset from GMT is +9, zone name of Daylight Saving Time is
JDT, Daylight Saving Time is 1 hour ahead, and time period is from the last
Sunday of March 2:00(JST) to the last Sunday of October 2:00(JDT).
XSCF> settimezone -c adddst -b JST -o GMT-9 -d JDT -f M3.5.0 -t M10.5.0
JST-9JDT,M3.5.0,M10.5.0
Sets the Daylight Saving Time information as follows: abbreviation of time
EXAMPLE 4
zone is JST, offset from GMT is +9, zone name of Daylight Saving Time is
JDT, the offset of Daylight Saving Time from GMT is +10, and time period is
from the first Sunday of April 0:00(JST) to the first Sunday of September
0:00(JDT).
XSCF> settimezone -c adddst -b JST -o GMT-9 -d JDT -p GMT-10 \
-f M4.1.0/00:00:00 -t M9.1.0/00:00:00
JST-9JDT-10,M4.1.0/00:00:00,M9.1.0/00:00:00
Deletes the Daylight Saving Time information of current settings.
EXAMPLE 5
XSCF> settimezone -c deldst -b JST -o GMT-9