tzselect(8)
โจ tzselect(8) โจ
System Manager's Manual ๐
okay so this is the page for tzselect, the manual name is tzselect(8) and it's giving helpful tool. ๐
๐ธ NAME ๐ธ
tzselect โ select a timezone ๐
๐ง SYNOPSIS ๐ง
tzselect [ -c coord ] [ -n limit ] [ --help ] [ --version ]
๐ DESCRIPTION ๐
okay so tzselect basically asks you a bunch of questions about where you are, then spits out the timezone you picked to standard output. โจ The result is perfect as a value for the TZ environment variable, so you can literally just drop it in and slay. ๐
Everything you type gets handled through standard input and standard error, so it's all just you and the program chatting. ๐ซถ
๐ฆ OPTIONS ๐ฆ
-c coordโ ngl this one is so cool ๐ญ Instead of walking through continent, then country, then city, you give it coordinates and it shows you time zones whose biggest cities are closest to that spot. ๐ The coordinates use ISO 6709 notation, so latitude first, immediately followed by longitude. Both are signed integers with an optional decimal point and fraction: positive means north and east, negative means south and west. Latitudes with two integer digits and longitudes with three are read as degrees. Latitudes with four or six integer digits and longitudes with five or seven are read asDDMM,DDDMM,DDMMSS, orDDDMMSS, meaningDDorDDDdegrees,MMminutes, and zero orSSseconds. Any trailing fractions are fractional minutes, or fractional seconds ifSSis there. The decimal point is whatever your current locale uses. ๐ In the defaultClocale,-c +40.689-074.045means 40.689 degrees N, 74.045 degrees W.-c +4041.4-07402.7means 40 degrees 41.4 minutes N, 74 degrees 2.7 minutes W. And-c +404121-0740240means 40 degrees 41 minutes 21 seconds N, 74 degrees 2 minutes 40 seconds W. If yourcoordisn't one of these documented forms, the behavior is unspecified, so like, don't go there. ๐-n limitโ when you're using-c, this decides how many nearby locations get displayed. The default is 10. ๐--helpโ shows help info and exits. ๐ซถ--versionโ shows version info and exits. โจ
๐ ENVIRONMENT VARIABLES ๐
AWKโ the name of a POSIX-compliant awk program. Defaults toawk. ๐TZDIRโ the name of the directory holding the timezone data files. Defaults to/usr/share/zoneinfo. ๐๏ธ
๐ FILES ๐
TZDIR/iso3166.tabโ table of ISO 3166 2-letter country codes and country names. ๐TZDIR/zone1970.tabโ table of country codes, latitude and longitude, timezones, and descriptive comments. ๐TZDIR/TZโ the timezone data file for timezoneTZ. โญ
๐ฅ EXIT STATUS ๐ฅ
If tzselect successfully gets a timezone out of the user, the exit status is zero. Otherwise it's nonzero. ๐
๐ง SEE ALSO ๐ง
newctime(3), tzfile(5), zdump(8), zic(8) ๐
๐ NOTES ๐
Heads up bestie: applications should not assume that tzselect's output matches the user's political preferences. ๐ฉ
Source: Time Zone Database. Page: tzselect(8). Stay iconic and keep those timezones straight! ๐ฆ๐โจ
๐ฆ where this page comes from
- debian trixie: manpages 6.9.1-1 ยท GPL-2.0-or-later
- fedora 43: man-pages 6.13-2.fc43 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-Fedora-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- fedora 43: man-pages 6.9.1-5.fc43 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-Fedora-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- fedora 44: man-pages 6.13-3.fc44 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-Fedora-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- opensuse-leap 16.0: man-pages 6.13-160000.2.2 ยท BSD-3-Clause AND GPL-2.0-or-later AND MIT
- ubuntu noble: manpages 6.7-2 ยท GPL-2.0-or-later
- ubuntu questing: manpages 6.9.1-1 ยท GPL-2.0-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms