Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Time zone database and code

branch: master
Octocat-spinner-32 .gitignore * .gitignore: Ignore *.a files. October 06, 2013
Octocat-spinner-32 Makefile * Makefile (clean_misc): Remove libtz.a. March 26, 2014
Octocat-spinner-32 NEWS Revert "* europe (Europe/Simferopol), NEWS: Crimea switches to Moscow… March 30, 2014
Octocat-spinner-32 README * README: Clarify BSD text. September 26, 2013
Octocat-spinner-32 Theory * Theory: Fix typos noted by Philip Newton September 15, 2013
Octocat-spinner-32 africa Morocco's 2014 DST start will be as predicted. March 19, 2014
Octocat-spinner-32 antarctica Approximate Troll's rules with just UTC and CEST. March 21, 2014
Octocat-spinner-32 asctime.c Restore 'register'. October 26, 2012
Octocat-spinner-32 asia * asia (Jordan): Remove now-confusing comment from Phil Pizzey. March 28, 2014
Octocat-spinner-32 australasia * australasia (Pacific/Johnston): Fix date typo in commentary. March 24, 2014
Octocat-spinner-32 backward Replace some zones with links when that doesn't lose non-LMT info. September 02, 2013
Octocat-spinner-32 checktab.awk Remove unused rules, and add a check for this. March 20, 2014
Octocat-spinner-32 date.1 Correct some UTC-vs-UT solecisms. September 04, 2013
Octocat-spinner-32 date.c Correct some UTC-vs-UT solecisms. September 04, 2013
Octocat-spinner-32 difftime.c Remove attempt to support floating-point time_t. August 12, 2013
Octocat-spinner-32 etcetera Correct some UTC-vs-UT solecisms. September 04, 2013
Octocat-spinner-32 europe Revert "* europe (Europe/Simferopol), NEWS: Crimea switches to Moscow… March 30, 2014
Octocat-spinner-32 factory Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 ialloc.c Restore 'register'. October 26, 2012
Octocat-spinner-32 iso3166.tab * iso3166.tab (BQ): Change common name to "Caribbean Netherlands". August 26, 2013
Octocat-spinner-32 leap-seconds.list Generate the 'leapseconds' file automatically from leap-seconds.list. August 12, 2013
Octocat-spinner-32 leapseconds.awk * leapseconds.awk: Avoid long string literals. September 24, 2013
Octocat-spinner-32 localtime.c Simplify some ALL_STATE and PCTS ifdefs. January 17, 2014
Octocat-spinner-32 newctime.3 maint: remove solar-time experiment November 13, 2013
Octocat-spinner-32 newstrftime.3 * newctime.3, newstrftime.3, newtzset.3, zdump.8: Explain UT vs UTC b… September 05, 2013
Octocat-spinner-32 newtzset.3 Fix Tuesday/Thursday typo in tzset man page. March 13, 2014
Octocat-spinner-32 northamerica Give the boundary of the US Pacific time zone more accurately. December 24, 2013
Octocat-spinner-32 pacificnew Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 private.h * private.h, zdump.c (HAVE_STDINT_H), NEWS: Define to 1 if __CYGWIN__. March 26, 2014
Octocat-spinner-32 scheck.c Port to NetBSD, where, e.g., 'time_t' is wider than 'long'. May 27, 2013
Octocat-spinner-32 southamerica Improve commentary for Trinidad and Tobago's links. March 07, 2014
Octocat-spinner-32 strftime.c Port to x32 by fixing type incompatibility with POSIX. September 24, 2013
Octocat-spinner-32 systemv Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 time2posix.3 Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 tz-art.htm * tz-art.htm: A couple more fixes. May 31, 2013
Octocat-spinner-32 tz-link.htm Fix misstatement about Microsoft Windows support. March 10, 2014
Octocat-spinner-32 tzfile.5 * tzfile.5 (SEE ALSO): Mention zdump(8), zic(8). September 15, 2013
Octocat-spinner-32 tzfile.h * tzfile.h (TZ_MAX_TIMES), NEWS: Increase from 1200 to 2000. March 20, 2014
Octocat-spinner-32 tzselect.8 Remove -t ZONETABTYPE option from 'tzselect'. September 10, 2013
Octocat-spinner-32 tzselect.ksh * tzselect.ksh (doselect): Prompt to stderr, not stdout. October 06, 2013
Octocat-spinner-32 usno1988 Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 usno1989 Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 usno1989a Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 usno1995 Spelling fixes. May 31, 2013
Octocat-spinner-32 usno1997 Spelling fixes. May 31, 2013
Octocat-spinner-32 usno1998 Spelling fixes. May 31, 2013
Octocat-spinner-32 workman.sh Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 yearistype.sh Switch from SCCS to git. July 18, 2012
Octocat-spinner-32 zdump.8 * newctime.3, newstrftime.3, newtzset.3, zdump.8: Explain UT vs UTC b… September 05, 2013
Octocat-spinner-32 zdump.c * private.h, zdump.c (HAVE_STDINT_H), NEWS: Define to 1 if __CYGWIN__. March 26, 2014
Octocat-spinner-32 zic.8 * zic.8: "any number of" -> "one or more" white space chars. September 15, 2013
Octocat-spinner-32 zic.c Update warnings about old zic and client software. March 25, 2014
Octocat-spinner-32 zone.tab Approximate Troll's rules with just UTC and CEST. March 21, 2014
Octocat-spinner-32 zoneinfo2tdf.pl Switch from SCCS to git. July 18, 2012
README
README for the tz distribution

"What time is it?" -- Richard Deacon as The King
"Any time you want it to be." -- Frank Baxter as The Scientist
					(from the Bell System film "About Time")

The Time Zone Database (often called tz or zoneinfo) contains code and
data that represent the history of local time for many representative
locations around the globe.  It is updated periodically to reflect
changes made by political bodies to time zone boundaries, UTC offsets,
and daylight-saving rules.

Unless otherwise specified, all files in the tz code and data are in
the public domain, so clarified as of 2009-05-17 by Arthur David Olson.
The few exceptions are code derived from BSD, which uses the BSD license.

Here is a recipe for acquiring, building, installing, and testing the
tz distribution on a GNU/Linux or similar host.

	mkdir tz
	cd tz
	wget --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz'
	gzip -dc tzcode-latest.tar.gz | tar -xf -
	gzip -dc tzdata-latest.tar.gz | tar -xf -

Be sure to read the comments in "Makefile" and make any changes needed
to make things right for your system, especially if you are using some
platform other than GNU/Linux.  Then run the following commands,
substituting your desired installation directory for "$HOME/tzdir":

	make TOPDIR=$HOME/tzdir install
	$HOME/tzdir/etc/zdump -v America/Los_Angeles

Historical local time information has been included here to:

*	provide a compendium of data about the history of civil time
	that is useful even if the data are not 100% accurate;

*	give an idea of the variety of local time rules that have
	existed in the past and thus an idea of the variety that may be
	expected in the future;

*	provide a test of the generality of the local time rule description
	system.

The information in the time zone data files is by no means authoritative;
the files currently do not even attempt to cover all time stamps before
1970, and there are undoubtedly errors even for time stamps since 1970.
If you know that the rules are different from those in a file, by all means
feel free to change a file (and please send the changed version to
tz@iana.org for use in the future).  Europeans take note!

Thanks to these Timezone Caballeros who've made major contributions to the
time conversion package:  Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
Guy Harris; Mark Horton; John Mackin; and Bradley White.  Thanks also to
Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
for testing work, and to Gwillim Law for checking local mean time data.
Thanks in particular to Arthur David Olson, the project's founder and first
maintainer, to whom the timezone community owes the greatest debt of all.
None of them are responsible for remaining errors.

Look in <ftp://ftp.iana.org/tz/releases/> for updated versions of these files.

Please send comments or information to tz@iana.org.
Something went wrong with that request. Please try again.