A system time zone must be specified, this can be done by either specifying the zone as Region/Location or as offset from UTC, the system's default zone is GMT. When the Region/Location format is being used, daylight savings time (DST) adjustments are done automatically. To set a zone, <Tab>-completion can be used to display the various options, be aware that these are case sensitive:
[email protected]# set system time-zone
Possible completions:
Local time zone
Africa
America
Antarctica
Arctic
Asia
Atlantic
Australia
Brazil
Canada
Chile
Etc
Europe
Indian
Mexico
Pacific
SystemV
US
UTC
Detailed information:
Enter the local timezone by specifying "Region/City"
Use auto-completion to see available regions and cities.
Start with one of these regions:
Africa America Antarctica Arctic Asia Atlantic
Australia Brazil Canada Chile Europe Indian
Mexico Mideast Pacific US
Show current time zone:
[email protected]# show system time-zone
To delete a time-zone:
[email protected]# delete system time-zone
Example 1: Set the system time zone to US/Pacific time:
[email protected]# set system time-zone US/Pacific
[email protected]# commit
[email protected]# show system time-zone
time-zone US/Pacific
Example 2: To set a UTC offset use Etc/<offset>, use the positive sign (+) for west of Greenwich and the negative sign (-) for east of Greenwich (POSIX compliance); A timezone 8 hours west of Greenwich (behind UTC) would be 'Etc/GMT+8':
[email protected]# set system time-zone Etc/GMT+8
[email protected]# commit
[email protected]# show system time-zone
time-zone Etc/GMT+8