tzselect — select a timezone
Synopsis
tzselect
Description
The tzselect program asks the user for information about the current location, and outputs the resulting timezone description to standard output. The output is suitable as a value for the TZ environment variable.
All interaction with the user is done via standard input and standard error.
Exit Status
The exit status is zero if a timezone was successfully obtained from the user, and is nonzero otherwise.
Environment
- AWK
Name of a POSIX-compliant awk program (default: awk).
- TZDIR
Name of the directory containing timezone data files (default: /usr/share/zoneinfo).
Files
- TZDIR/iso3166.tab
Table of ISO 3166 2-letter country codes and country names.
- TZDIR/zone.tab
Table of country codes, latitude and longitude, TZ values, and descriptive comments.
- TZDIR/TZ
Timezone data file for timezone TZ.
See Also
Colophon
This page is part of release 5.04 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Referenced By
environ(7), PCPIntro(1), tzfile(5).