NetBSD/lib/libc/time/zdump.8

47 lines
1.0 KiB
Groff
Raw Normal View History

2003-10-29 23:43:27 +03:00
.\" $NetBSD: zdump.8,v 1.5 2003/10/29 20:43:27 kleink Exp $
.\" @(#)zdump.8 7.4
.Dd October 29, 2003
2001-09-16 20:53:45 +04:00
.Os
.Dt ZDUMP 8
.Sh NAME
.Nm zdump
.Nd time zone dumper
.Sh SYNOPSIS
.Nm zdump
2003-10-29 23:43:27 +03:00
.Op Fl \-version
2001-09-16 20:53:45 +04:00
.Op Fl v
.Op Fl c Ar cutoffyear
.Op Ar zonename ...
.Sh DESCRIPTION
.Nm
prints the current time in each
2001-09-16 20:53:45 +04:00
.Ar zonename
named on the command line.
2001-09-16 20:53:45 +04:00
.Pp
These options are available:
2003-10-29 23:43:27 +03:00
.Bl -tag -width XXXXXXXXX -compact
.It Fl \-version
Output version information and exit.
2001-09-16 20:53:45 +04:00
.It Fl v
For each
2001-09-16 20:53:45 +04:00
.Ar zonename
on the command line,
1996-09-11 02:04:29 +04:00
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
2001-09-16 20:53:45 +04:00
.Dl isdst=1
if the given time is Daylight Saving Time or
2001-09-16 20:53:45 +04:00
.Dl isdst=0
otherwise.
2001-09-16 20:53:45 +04:00
.It Fl c Ar cutoffyear
Cut off the verbose output near the start of the given year.
2001-09-16 20:53:45 +04:00
.El
.Sh SEE ALSO
.Xr ctime 3 ,
.Xr tzfile 5 ,
.Xr zic 8