Use the lstimezones command to list
the time zones that are available on the clustered system (system).
Each timezone is assigned an ID that can be used in the settimezone command to set the time zone.
Syntax
lstimezones [ -nohdr ] [ -delim delimiter ]
Parameters
- -nohdr
- (Optional) By default, headings are displayed for each column
of data in a concise style view, and for each item of data in a detailed
style view. The -nohdr parameter suppresses the
display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are
space-separated. The width of each column is set to the maximum possible
width of each item of data. In a detailed view, each item of data
has its own row, and if the headers are displayed, the data is separated
from the header by a space. The -delim parameter
overrides this behavior. Valid input for the -delim parameter is a one-byte character. If you enter -delim
: on the command line, the colon character (:) separates all items of data in a concise view; for example, the
spacing of columns does not occur. In a detailed view, the data is
separated from its header by a colon character.
Description
This command displays a list of all the time zones that are available
on the system. Each time zone is assigned an ID. This ID can be used
in the settimezone command.
An invocation example
lstimezones
The resulting output:
id timezone
0 Africa/Abidjan
1 Africa/Accra
2 Africa/Addis_Ababa
3 Africa/Algiers
4 Africa/Asmera
5 Africa/Bamako
6 Africa/Bangui