clock time-zone
Configure the time zone to use an internal system clock to maintain accurate time. The time
zone data in Linux includes daylight changes for all time zones from 1901 to 2038. You do
not need to configure daylight saving time.
Command Parameters
- WORD<1-10>
- Specifies a directory name or a
time zone name in /usr/share/zoneinfo, for example, Africa, Australia, Antarctica,
or US. To see a list of options, enter clock time-zone at the command prompt
without variables.
- WORD<1-20> WORD<1-20>
- The first instance of
WORD<1-20> is the area within the timezone. The value represents a time zone
data file in /usr/share/zoneinfo/WORD<1-10>/ , for example, Shanghai in
Asia.
- The second instance of
WORD<1-20>is the subarea. The value represents a time zone data file in
/usr/share/zoneinfo/WORD<1-10>/WORD<1-20>/, for example, Vevay in
America/Indiana.
- To see a list of options, enter
clock time-zone at the command prompt without variables.
Default
The default is Coordinated Universal Time (UTC).
Command Mode
Global Configuration