Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administration Commandszdump(1M)


NAME

 zdump - time zone dumper

SYNOPSIS

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

DESCRIPTION

 

The zdump command prints the current time for each time zone (zonename) listed on the command line. Specify zonename as the name of the time zone database file relative to /usr/share/lib/zoneinfo.

Specifying an invalid time zone (zonename) to zdump does not return an error, rather zdump uses GMT. This is consistent with the behavior of the library calls; zdump reflects the same behavior of the time routines in libc. See ctime(3C) and mktime(3C).

OPTIONS

 

The following options are supported:

-v
Displays the entire contents of the time zone 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 computing local time change; the time at the highest possible 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 otherwise.
-c cutoffyear
Cuts off the verbose output near the start of the year cutoffyear.

EXIT STATUS

 

The following exit values are returned:

0
Successful completion.
1
An error occurred.

FILES

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

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

zic(1M), ctime(3C), mktime(3C), attributes(5), environ(5)


SunOS 5.9Go To TopLast Changed 19 May 1997

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.