1zdump(1M) System Administration Commands zdump(1M)
2
3
4
6 zdump - time zone dumper
7
9 zdump [--version] [-v] [-c [loyear,]hiyear] [zonename]...
10
11
13 The zdump command prints the current time for each time zone (zonename)
14 listed on the command line. Specify zonename as the name of the time
15 zone database file relative to /usr/share/lib/zoneinfo.
16
17
18 Specifying an invalid time zone (zonename) to zdump does not return an
19 error, rather zdump uses GMTO. This is consistent with the behavior of
20 the library calls; zdump reflects the same behavior of the time rou‐
21 tines in libc. See ctime(3C) and mktime(3C).
22
24 The following options are supported:
25
26 --version Outputs version information and exits.
27
28
29 -v Displays the entire contents of the time zone
30 database file for zonename. Prints the time at
31 the lowest possible time value; the time one day
32 after the lowest possible time value; the times
33 both one second before and exactly at each time
34 at which the rules for computing local time
35 change; the time at the highest possible time
36 value; and the time at one day less than the
37 highest possible time value. See mktime(3C) and
38 ctime(3C) for information regarding time value
39 (time_t). Each line of output ends with isdst=1
40 if the given time is Daylight Saving Time, or
41 isdst=0 otherwise.
42
43
44 -c [loyear],hiyear Cuts off the verbose output near the start of the
45 given year(s) . By default, the program cuts off
46 verbose output near the start of the years -500
47 and 2500.
48
49
51 The following exit values are returned:
52
53 0 Successful completion.
54
55
56 1 An error occurred.
57
58
60 /usr/share/lib/zoneinfo Standard zone information directory
61
62
64 See attributes(5) for descriptions of the following attributes:
65
66
67
68
69 ┌─────────────────────────────┬─────────────────────────────┐
70 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
71 ├─────────────────────────────┼─────────────────────────────┤
72 │Availability │SUNWcsu │
73 ├─────────────────────────────┼─────────────────────────────┤
74 │Interface Stability │Stable │
75 └─────────────────────────────┴─────────────────────────────┘
76
78 zic(1M), ctime(3C), mktime(3C), attributes(5), environ(5)
79
80
81
82SunOS 5.11 3 Jan 2006 zdump(1M)