The clock timezone command configures the local time zone.
The undo clock timezone command restores default Universal Time Coordinated (UTC).
If you do not specify the time zone name, the system uses the name of DefaultZoneName.
The default local time zone is Universal Time Coordinated (UTC).
Parameter | Description | Value |
---|---|---|
time-zone-name |
Specifies the name of a time zone. |
The value is a string of 1 to 32 characters. When quotation marks are used around the string, spaces are allowed in the string. |
add |
Indicates that the value of time-zone-name is the sum of the Universal Time Coordinated (UTC) time and offset. |
The offset value ranges from 0 to 18. |
minus |
Indicates that the value of time-zone-name is the UTC time minus the offset. |
The offset value ranges from 0 to 18. |
offset |
Specifies the offset between the time of the specified time zone and the UTC time. The value is in the format of HH:MM:SS, where HH specifies the hour, MM specifies the minute, and SS specifies the second. |
The value of HH is an integer ranging from 0 to 18. The value of MM or SS is an integer ranging from 0 to 59. |