- online man pages   

SunOS man pages : zdump (1)

Maintenance Commands                                    zdump(1M)


zdump - time zone dumper


zdump [ -v ] [ -c cutoffyear ] [ zonename ... ]


The zdump command prints the current time for each timezone (zonename) listed on the command line. Specify zonename as the name of the timezone database file relative to /usr/share/lib/zoneinfo. Specifying an invalid timezone (zonename) to zdump does not return an error, rather zdump uses GMT. This is con- sistent with the behavior of the library calls; zdump reflects the same behavior of the time routines in libc. See ctime(3C) and mktime(3C).


The following options are supported: -v Displays the entire contents of the timezone database file for zonename. Prints the time at the lowest possible time value, the time one day after the lowest possible time value, the times both one second before and exactly at each time at which the rules for com- puting local time change, the time at the highest pos- sible time value, and the time at one day less than the highest possible time value. See mktime(3C) and ctime(3C) for information regarding time value (time_t). Each line of output ends with isdst=1 if the given time is Daylight Saving Time or isdst=0 other- wise. -c cutoffyear Cuts off the verbose output near the start of the year cutoffyear.


The following exit values are returned: 0 Successful completion. 1 An error occurred.


/usr/share/lib/zoneinfo standard zone information directory


See attributes(5) for descriptions of the following attri- butes: SunOS 5.8 Last change: 19 May 1997 1 Maintenance Commands zdump(1M) ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWcsu | |_____________________________|_____________________________|


zic(1M), ctime(3C), mktime(3C), attributes(5), environ(5) SunOS 5.8 Last change: 19 May 1997 2