1998-02-04 07:30:11 +00:00
|
|
|
.\"
|
2009-05-27 12:18:39 +00:00
|
|
|
.\" @(#)zdump.8 8.2
|
|
|
|
.\" This file is in the public domain, so clarified as of
|
|
|
|
.\" 2009-05-17 by Arthur David Olson.
|
1999-08-28 01:35:59 +00:00
|
|
|
.\" $FreeBSD$
|
1998-02-04 07:30:11 +00:00
|
|
|
.\"
|
2004-06-20 21:41:11 +00:00
|
|
|
.Dd June 20, 2004
|
1998-02-04 07:30:11 +00:00
|
|
|
.Dt ZDUMP 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm zdump
|
|
|
|
.Nd timezone dumper
|
|
|
|
.Sh SYNOPSIS
|
2000-11-20 20:10:44 +00:00
|
|
|
.Nm
|
2004-06-20 21:41:11 +00:00
|
|
|
.Op Fl -version
|
1998-02-04 07:30:11 +00:00
|
|
|
.Op Fl v
|
2009-05-23 06:31:50 +00:00
|
|
|
.Op Fl c Ar [loyear,]hiyear
|
1998-02-04 07:30:11 +00:00
|
|
|
.Op Ar zonename ...
|
|
|
|
.Sh DESCRIPTION
|
2002-07-14 14:47:15 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility prints the current time in each
|
1998-02-04 07:30:11 +00:00
|
|
|
.Ar zonename
|
1994-09-13 03:29:24 +00:00
|
|
|
named on the command line.
|
1998-02-04 07:30:11 +00:00
|
|
|
.Pp
|
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width indent
|
2004-06-20 21:41:11 +00:00
|
|
|
.It Fl -version
|
|
|
|
Output version information and exit.
|
1998-02-04 07:30:11 +00:00
|
|
|
.It Fl v
|
1994-09-13 03:29:24 +00:00
|
|
|
For each
|
1998-02-04 07:30:11 +00:00
|
|
|
.Ar zonename
|
1994-09-13 03:29:24 +00:00
|
|
|
on the command line,
|
1996-07-18 19:59:09 +00:00
|
|
|
print the time at the lowest possible time value,
|
1994-09-13 03:29:24 +00:00
|
|
|
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
|
1998-02-04 07:30:11 +00:00
|
|
|
.Em isdst=1
|
1994-09-13 03:29:24 +00:00
|
|
|
if the given time is Daylight Saving Time or
|
1998-02-04 07:30:11 +00:00
|
|
|
.Em isdst=0
|
1994-09-13 03:29:24 +00:00
|
|
|
otherwise.
|
2009-05-23 06:31:50 +00:00
|
|
|
.It Fl c Ar loyear,hiyear
|
|
|
|
Cut off verbose output near the start of the given year(s).
|
|
|
|
By default,
|
|
|
|
the program cuts off verbose output near the starts of the years -500 and 2500.
|
2000-01-23 20:36:27 +00:00
|
|
|
.El
|
2009-05-23 06:31:50 +00:00
|
|
|
.Sh LIMITATIONS
|
|
|
|
The
|
|
|
|
.Fl v
|
|
|
|
option may not be used on systems with floating-point time_t values
|
|
|
|
that are neither float nor double.
|
|
|
|
.Pp
|
|
|
|
Time discontinuities are found by sampling the results returned by localtime
|
|
|
|
at twelve-hour intervals.
|
|
|
|
This works in all real-world cases;
|
|
|
|
one can construct artificial time zones for which this fails.
|
1998-02-04 07:30:11 +00:00
|
|
|
.Sh "SEE ALSO"
|
|
|
|
.Xr ctime 3 ,
|
|
|
|
.Xr tzfile 5 ,
|
|
|
|
.Xr zic 8
|