zdump Command
Purpose
Dumps the time zone information.
Syntax
zdump [ -v ] [ -c [loyear,]hiyear ] TimeZoneName ...
Description
The zdump command prints the current time for each zone name specified on the command line.
Flags
Item | Description |
---|---|
-c [loyear,]hiyear | Stops the verbose output near the start of the year with the loyear attribute. The range can be specified using the loyear and hiyear attributes. |
-v | For each TimeZoneName listed on the command
line, the following information is printed:
isdst=1 if the given time
is Daylight Saving Time, or isdst=0 otherwise. |
Parameters
Item | Description |
---|---|
TimeZoneName | Represents the name of the zone whose time zone information is displayed. |
Exit Status
- 0
- The command completed successfully.
- >0
- An error occurred.
Examples
- To report time zone information for Singapore , enter:
zdump -v Singapore
- To report verbose time zone information for Turkey with verbose
output stopping near the start of the year 2035, enter:
zdump -v -c 2035 Turkey
Files
Item | Description |
---|---|
/usr/sbin/zdump | Contains the SystemV zdump command. |
/usr/share/lib/zoneinfo | Contains the standard time zone directory. |