1 .\" $NetBSD: zdump.8,v 1.14 2014/10/23 18:45:58 christos Exp $
13 .Op Fl c Ar [loyear,]highyear
21 prints the current time in each
23 named on the command line.
25 These options are available:
26 .Bl -tag -width XXXXXXXXX -compact
28 Output version information and exit.
33 print the time at the lowest possible time value,
34 the time one day after the lowest possible time value,
35 the times both one second before and exactly at
36 each detected time discontinuity,
37 the time at one day less than the highest possible time value,
38 and the time at the highest possible time value.
39 Each line is followed by
43 is positive, zero, or negative depending on whether
44 the given time is daylight saving time, standard time,
45 or an unknown time type, respectively.
46 Each line is also followed by
48 if the given local time is known to be
50 seconds east of Greenwich.
51 .It Fl c Ar [loyear,]highyear
52 Cut off verbose output at the given year(s).
53 Cutoff times are computed using the proleptic Gregorian calendar with year 0
54 and with Universal Time (UT) ignoring leap seconds.
55 The lower bound is exclusive and the upper is inclusive; for example, a
57 of 1970 excludes a transition occurring at 1970-01-01 00:00:00 UTC but a
59 of 1970 includes the transition.
62 .It Fl t Ar [lotime,]hightime
63 Cut off verbose output at the given time(s),
64 given in decimal seconds since 1970-01-01 00:00:00
65 Coordinated Universal Time (UTC).
68 determines whether the count includes leap seconds.
71 the cutoff's lower bound is exclusive and its upper bound is inclusive.
75 except omit the times relative to the extreme time values.
76 This generates output that is easier to compare to that of
77 implementations with different time representations.
80 Time discontinuities are found by sampling the results returned by localtime
81 at twelve-hour intervals.
82 This works in all real-world cases;
83 one can construct artificial time zones for which this fails.
87 denotes the value returned by
89 which uses UTC for modern time stamps and some other UT flavor for
90 time stamps that predate the introduction of UTC.
91 No attempt is currently made to have the output use
95 for older time stamps,
96 partly because the exact date of the introduction of UTC is problematic.
102 .\" This file is in the public domain, so clarified as of
103 .\" 2009-05-17 by Arthur David Olson.