tzselect

NAME

tzselect - select a time zone

SYNOPSIS

tzselect

DESCRIPTION

The tzselect(1) program asks the user for information about the current location, and outputs the resulting time zone description to standard output. The output is suitable as a value for the TZ environment variable.

All interaction with the user is done through standard input and standard error.

ENVIRONMENT VARIABLES

AWK
Name of a Posix-compliant awk(1) program (default: awk(1)).
TZDIR
Name of the directory containing time zone data files (default: /usr/local/etc/zoneinfo).

FILES

TZDIR/iso3166.tab
Table of International Organization for Standardization (ISO) 3166 two-letter country/region codes and country/region names.
TZDIR/zone.tab
Table of country/region codes, latitude and longitude, TZ values, and descriptive comments.
TZDIR/TZ
Time zone data file for time zone TZ.

EXIT STATUS

The exit status is zero if a time zone was successfully obtained from the user; nonzero otherwise.

SEE ALSO

zdump(1)

zic(1)