Linux Commands Examples

A great documentation place for Linux commands

zdump

time zone dumper


see also : zic

Synopsis

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


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
$dir/zdump $f > ${f%%.rd}.z
done
0
source
            
(cd /usr/share/zoneinfo/; /usr/bin/zdump **/*) 2>/dev/null | egrep '^posix' | egrep "Los_Angeles|Tokyo|Paris"
0
source
            
for x in tzselect zic zdump yearistype ; do
install -Dm0755 $x "${pkgdir}/usr/bin/$x"
done
}

description

Zdump prints the current time in each zonename named on the command line.

These options are available:

-v

For each zonename on the command line, print 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 detected time discontinuity, the time at one day less than the highest possible time value, and the time at the highest possible time value, Each line ends with isdst=1 if the given time is Daylight Saving Time or isdst=0 otherwise. zonename should be the relative path file name from /usr/share/zoneinfo/ which directory contains all zone data.

-c cutoffyear

Cut off the verbose output near the start of the given year.


see also

ctime, zic

How can this site be more helpful to YOU ?


give  feedback