3 tzselect \- select a time zone
5 .ie \n(.g .ds - \f(CW-\fP
22 program asks the user for information about the current location,
23 and outputs the resulting time zone description to standard output.
24 The output is suitable as a value for the TZ environment variable.
26 All interaction with the user is done via standard input and standard error.
30 Instead of asking for continent and then country and then city,
31 ask for selection from time zones whose largest cities
32 are closest to the location with geographical coordinates
34 Use ISO 6709 notation for
36 that is, a latitude immediately followed by a longitude. The latitude
37 and longitude should be signed integers followed by an optional
38 decimal point and fraction: positive numbers represent north and east,
39 negative south and west. Latitudes with two and longitudes with three
40 integer digits are treated as degrees; latitudes with four or six and
41 longitudes with five or seven integer digits are treated as
42 .I "DDMM, DDDMM, DDMMSS,"
54 seconds, with any trailing fractions represent fractional minutes or
57 is present) seconds. The decimal point is that of the current locale.
58 For example, in the (default) C locale,
59 .B "\*-c\ +40.689\*-074.045"
60 specifies 40.689\(de\|N, 74.045\(de\|W,
61 .B "\*-c\ +4041.4\*-07402.7"
62 specifies 40\(de\|41.4\(fm\|N, 74\(de\|2.7\(fm\|W, and
63 .B "\*-c\ +404121\*-0740240"
64 specifies 40\(de\|41\(fm\|21\(sd\|N, 74\(de\|2\(fm\|40\(sd\|W.
67 is not one of the documented forms, the resulting behavior is unspecified.
72 is used, display the closest
74 locations (default 10).
77 Output help information and exit.
80 Output version information and exit.
81 .SH "ENVIRONMENT VARIABLES"
84 Name of a Posix-compliant
90 Name of the directory containing time zone data files (default:
91 .BR /usr/local/etc/zoneinfo ).
94 \f2TZDIR\fP\f3/iso3166.tab\fP
95 Table of ISO 3166 2-letter country codes and country names.
97 \f2TZDIR\fP\f3/zone1970.tab\fP
98 Table of country codes, latitude and longitude, zone names, and
101 \f2TZDIR\fP\f3/\fP\f2TZ\fP
102 Time zone data file for time zone \f2TZ\fP.
104 The exit status is zero if a time zone was successfully obtained from the user,
107 newctime(3), tzfile(5), zdump(8), zic(8)
109 Applications should not assume that
111 output matches the user's political preferences.
112 .\" This file is in the public domain, so clarified as of
113 .\" 2009-05-17 by Arthur David Olson.