e2715d8b5b1d6ceb1c603ea5a5f4927ec0dc9a2e
[dragonfly.git] / usr.sbin / zic / zdump.8
1 .\"
2 .\" $FreeBSD: src/usr.sbin/zic/zdump.8,v 1.7.2.2 2003/03/11 22:31:35 trhodes Exp $
3 .\"
4 .Dd October 19, 2008
5 .Dt ZDUMP 8
6 .Os
7 .Sh NAME
8 .Nm zdump
9 .Nd timezone dumper
10 .Sh SYNOPSIS
11 .Nm
12 .Op Fl v
13 .Op Fl c Bo Ar loyear Ns , Bc Ns Ar hiyear
14 .Op Ar zonename ...
15 .Sh DESCRIPTION
16 The
17 .Nm
18 utility prints the current time in each
19 .Ar zonename
20 named on the command line.
21 .Pp
22 The following options are available:
23 .Bl -tag -width indent
24 .It Fl v
25 For each
26 .Ar zonename
27 on the command line,
28 print the time at the lowest possible time value,
29 the time one day after the lowest possible time value,
30 the times both one second before and exactly at
31 each detected time discontinuity,
32 the time at one day less than the highest possible time value,
33 and the time at the highest possible time value,
34 Each line ends with
35 .Em isdst=1
36 if the given time is Daylight Saving Time or
37 .Em isdst=0
38 otherwise.
39 .It Fl c Bo Ar loyear Ns , Bc Ns Ar hiyear
40 Cut off verbose output near the start of the given year(s).
41 By default,
42 the program cuts off verbose output near the starts of the years -500 and 2500.
43 .El
44 .Sh LIMITATIONS
45 The
46 .Fl v
47 option may not be used on systems with floating-point
48 .Vt time_t
49 values that are neither float nor double.
50 .Pp
51 Time discontinuities are found by sampling the results returned by
52 .Xr localtime 3
53 at twelve-hour intervals.
54 This works in all real-world cases;
55 one can construct artificial time zones for which this fails.
56 .Sh "SEE ALSO"
57 .Xr ctime 3 ,
58 .Xr tzfile 5 ,
59 .Xr zic 8