Time zone display options for pidiag -tz
- Last UpdatedOct 02, 2024
- 1 minute read
When using pidiag -tz to display time zone information, you can include the following additional options. The syntax is:
pidiag -tz [time_string [time_zone]] [-check | -dump [-brief] | -full]
-
time_string [time_zone]
Display the Local and universal time (UT) times in seconds for the specified time string. With the optional time_zone, displays time zone information and converts the time as if the specified time zone were in effect.
-
-check
Indicates if the time zone settings on your system are invalid. If the time-zone settings are valid, the command generates no output.
-
-dump [-brief]
Dumps the entire time zone table, including fall and spring changes in every year. The dump is in comma-separated variable (CSV) format, which you can load into a spreadsheet with all time-change information for the local time zone.
With the optional -brief, the output includes the year and spring and fall time changes, each marked with D or S to denote daylight or standard time.
-
-full
Displays additional information about the localhost.tz file, such as the file’s UID, creator, and creation time. The information is valid only if Data Archive successfully loaded localhost.tz.