zdump
time zone dumper
see also :
zic
Synopsis
zdump [
-v ] [ -c cutoffyear ] [ zonename
... ]
add an example, a script, a trick and tips
examples
source
$dir/zdump $f > ${f%%.rd}.z
done
source
(cd
/usr/share/zoneinfo/; /usr/bin/zdump **/*) 2>/dev/null | egrep '^posix' | egrep "Los_Angeles|Tokyo|Paris"
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