11.18SchristosTheory and pragmatics of the tz code and data 21.18Schristos 31.2Sperry 41.2Sperry----- Outline ----- 51.2Sperry 61.10Schristos Scope of the tz database 71.18Schristos Names of time zone rules 81.2Sperry Time zone abbreviations 91.18Schristos Accuracy of the tz database 101.18Schristos Time and date functions 111.23Schristos Interface stability 121.4Skleink Calendrical issues 131.8Skleink Time and time zones on Mars 141.2Sperry 151.2Sperry 161.18Schristos----- Scope of the tz database ----- 171.18Schristos 181.18SchristosThe tz database attempts to record the history and predicted future of 191.18Schristosall computer-based clocks that track civil time. To represent this 201.18Schristosdata, the world is partitioned into regions whose clocks all agree 211.18Schristosabout time stamps that occur after the somewhat-arbitrary cutoff point 221.18Schristosof the POSIX Epoch (1970-01-01 00:00:00 UTC). For each such region, 231.18Schristosthe database records all known clock transitions, and labels the region 241.18Schristoswith a notable location. Although 1970 is a somewhat-arbitrary 251.18Schristoscutoff, there are significant challenges to moving the cutoff earlier 261.18Schristoseven by a decade or two, due to the wide variety of local practices 271.18Schristosbefore computer timekeeping became prevalent. 281.18Schristos 291.18SchristosClock transitions before 1970 are recorded for each such location, 301.18Schristosbecause most systems support time stamps before 1970 and could 311.18Schristosmisbehave if data entries were omitted for pre-1970 transitions. 321.18SchristosHowever, the database is not designed for and does not suffice for 331.18Schristosapplications requiring accurate handling of all past times everywhere, 341.18Schristosas it would take far too much effort and guesswork to record all 351.18Schristosdetails of pre-1970 civil timekeeping. 361.18Schristos 371.18SchristosAs described below, reference source code for using the tz database is 381.18Schristosalso available. The tz code is upwards compatible with POSIX, an 391.18Schristosinternational standard for UNIX-like systems. As of this writing, the 401.18Schristoscurrent edition of POSIX is: 411.2Sperry 421.14Schristos The Open Group Base Specifications Issue 7 431.23Schristos IEEE Std 1003.1-2008, 2016 Edition 441.14Schristos <http://pubs.opengroup.org/onlinepubs/9699919799/> 451.2Sperry 461.2Sperry 471.1Sjtc 481.18Schristos----- Names of time zone rules ----- 491.2Sperry 501.18SchristosEach of the database's time zone rules has a unique name. 511.18SchristosInexperienced users are not expected to select these names unaided. 521.18SchristosDistributors should provide documentation and/or a simple selection 531.18Schristosinterface that explains the names; for one example, see the 'tzselect' 541.18Schristosprogram in the tz code. The Unicode Common Locale Data Repository 551.18Schristos<http://cldr.unicode.org/> contains data that may be useful for other 561.18Schristosselection interfaces. 571.2Sperry 581.18SchristosThe time zone rule naming conventions attempt to strike a balance 591.18Schristosamong the following goals: 601.6Skleink 611.18Schristos * Uniquely identify every region where clocks have agreed since 1970. 621.18Schristos This is essential for the intended use: static clocks keeping local 631.18Schristos civil time. 641.18Schristos 651.18Schristos * Indicate to experts where that region is. 661.18Schristos 671.18Schristos * Be robust in the presence of political changes. For example, names 681.18Schristos of countries are ordinarily not used, to avoid incompatibilities 691.18Schristos when countries change their name (e.g. Zaire->Congo) or when 701.18Schristos locations change countries (e.g. Hong Kong from UK colony to 711.18Schristos China). 721.2Sperry 731.18Schristos * Be portable to a wide variety of implementations. 741.9Smlelstv 751.18Schristos * Use a consistent naming conventions over the entire world. 761.9Smlelstv 771.18SchristosNames normally have the form AREA/LOCATION, where AREA is the name 781.18Schristosof a continent or ocean, and LOCATION is the name of a specific 791.18Schristoslocation within that region. North and South America share the same 801.18Schristosarea, 'America'. Typical names are 'Africa/Cairo', 'America/New_York', 811.18Schristosand 'Pacific/Honolulu'. 821.9Smlelstv 831.18SchristosHere are the general rules used for choosing location names, 841.18Schristosin decreasing order of importance: 851.9Smlelstv 861.18Schristos Use only valid POSIX file name components (i.e., the parts of 871.18Schristos names other than '/'). Do not use the file name 881.18Schristos components '.' and '..'. Within a file name component, 891.18Schristos use only ASCII letters, '.', '-' and '_'. Do not use 901.18Schristos digits, as that might create an ambiguity with POSIX 911.18Schristos TZ strings. A file name component must not exceed 14 921.18Schristos characters or start with '-'. E.g., prefer 'Brunei' 931.18Schristos to 'Bandar_Seri_Begawan'. Exceptions: see the discussion 941.18Schristos of legacy names below. 951.18Schristos A name must not be empty, or contain '//', or start or end with '/'. 961.18Schristos Do not use names that differ only in case. Although the reference 971.18Schristos implementation is case-sensitive, some other implementations 981.18Schristos are not, and they would mishandle names differing only in case. 991.18Schristos If one name A is an initial prefix of another name AB (ignoring case), 1001.18Schristos then B must not start with '/', as a regular file cannot have 1011.18Schristos the same name as a directory in POSIX. For example, 1021.18Schristos 'America/New_York' precludes 'America/New_York/Bronx'. 1031.18Schristos Uninhabited regions like the North Pole and Bouvet Island 1041.18Schristos do not need locations, since local time is not defined there. 1051.18Schristos There should typically be at least one name for each ISO 3166-1 1061.18Schristos officially assigned two-letter code for an inhabited country 1071.18Schristos or territory. 1081.18Schristos If all the clocks in a region have agreed since 1970, 1091.18Schristos don't bother to include more than one location 1101.18Schristos even if subregions' clocks disagreed before 1970. 1111.18Schristos Otherwise these tables would become annoyingly large. 1121.18Schristos If a name is ambiguous, use a less ambiguous alternative; 1131.18Schristos e.g. many cities are named San José and Georgetown, so 1141.18Schristos prefer 'Costa_Rica' to 'San_Jose' and 'Guyana' to 'Georgetown'. 1151.18Schristos Keep locations compact. Use cities or small islands, not countries 1161.18Schristos or regions, so that any future time zone changes do not split 1171.18Schristos locations into different time zones. E.g. prefer 'Paris' 1181.18Schristos to 'France', since France has had multiple time zones. 1191.18Schristos Use mainstream English spelling, e.g. prefer 'Rome' to 'Roma', and 1201.18Schristos prefer 'Athens' to the Greek 'Αθήνα' or the Romanized 'Athína'. 1211.18Schristos The POSIX file name restrictions encourage this rule. 1221.18Schristos Use the most populous among locations in a zone, 1231.18Schristos e.g. prefer 'Shanghai' to 'Beijing'. Among locations with 1241.18Schristos similar populations, pick the best-known location, 1251.18Schristos e.g. prefer 'Rome' to 'Milan'. 1261.18Schristos Use the singular form, e.g. prefer 'Canary' to 'Canaries'. 1271.18Schristos Omit common suffixes like '_Islands' and '_City', unless that 1281.18Schristos would lead to ambiguity. E.g. prefer 'Cayman' to 1291.18Schristos 'Cayman_Islands' and 'Guatemala' to 'Guatemala_City', 1301.18Schristos but prefer 'Mexico_City' to 'Mexico' because the country 1311.18Schristos of Mexico has several time zones. 1321.18Schristos Use '_' to represent a space. 1331.18Schristos Omit '.' from abbreviations in names, e.g. prefer 'St_Helena' 1341.18Schristos to 'St._Helena'. 1351.18Schristos Do not change established names if they only marginally 1361.18Schristos violate the above rules. For example, don't change 1371.18Schristos the existing name 'Rome' to 'Milan' merely because 1381.18Schristos Milan's population has grown to be somewhat greater 1391.18Schristos than Rome's. 1401.18Schristos If a name is changed, put its old spelling in the 'backward' file. 1411.18Schristos This means old spellings will continue to work. 1421.1Sjtc 1431.18SchristosThe file 'zone1970.tab' lists geographical locations used to name time 1441.18Schristoszone rules. It is intended to be an exhaustive list of names for 1451.18Schristosgeographic regions as described above; this is a subset of the names 1461.18Schristosin the data. Although a 'zone1970.tab' location's longitude 1471.18Schristoscorresponds to its LMT offset with one hour for every 15 degrees east 1481.18Schristoslongitude, this relationship is not exact. 1491.1Sjtc 1501.18SchristosOlder versions of this package used a different naming scheme, 1511.18Schristosand these older names are still supported. 1521.18SchristosSee the file 'backward' for most of these older names 1531.18Schristos(e.g., 'US/Eastern' instead of 'America/New_York'). 1541.18SchristosThe other old-fashioned names still supported are 1551.18Schristos'WET', 'CET', 'MET', and 'EET' (see the file 'europe'). 1561.1Sjtc 1571.18SchristosOlder versions of this package defined legacy names that are 1581.18Schristosincompatible with the first rule of location names, but which are 1591.18Schristosstill supported. These legacy names are mostly defined in the file 1601.18Schristos'etcetera'. Also, the file 'backward' defines the legacy names 1611.18Schristos'GMT0', 'GMT-0', 'GMT+0' and 'Canada/East-Saskatchewan', and the file 1621.18Schristos'northamerica' defines the legacy names 'EST5EDT', 'CST6CDT', 1631.18Schristos'MST7MDT', and 'PST8PDT'. 1641.14Schristos 1651.18SchristosExcluding 'backward' should not affect the other data. If 1661.18Schristos'backward' is excluded, excluding 'etcetera' should not affect the 1671.18Schristosremaining data. 1681.1Sjtc 1691.1Sjtc 1701.18Schristos----- Time zone abbreviations ----- 1711.1Sjtc 1721.18SchristosWhen this package is installed, it generates time zone abbreviations 1731.18Schristoslike 'EST' to be compatible with human tradition and POSIX. 1741.18SchristosHere are the general rules used for choosing time zone abbreviations, 1751.18Schristosin decreasing order of importance: 1761.1Sjtc 1771.19Schristos Use three or more characters that are ASCII alphanumerics or '+' or '-'. 1781.18Schristos Previous editions of this database also used characters like 1791.18Schristos ' ' and '?', but these characters have a special meaning to 1801.18Schristos the shell and cause commands like 1811.18Schristos set `date` 1821.18Schristos to have unexpected effects. 1831.18Schristos Previous editions of this rule required upper-case letters, 1841.18Schristos but the Congressman who introduced Chamorro Standard Time 1851.19Schristos preferred "ChST", so lower-case letters are now allowed. 1861.19Schristos Also, POSIX from 2001 on relaxed the rule to allow '-', '+', 1871.19Schristos and alphanumeric characters from the portable character set 1881.19Schristos in the current locale. In practice ASCII alphanumerics and 1891.19Schristos '+' and '-' are safe in all locales. 1901.1Sjtc 1911.19Schristos In other words, in the C locale the POSIX extended regular 1921.19Schristos expression [-+[:alnum:]]{3,} should match the abbreviation. 1931.19Schristos This guarantees that all abbreviations could have been 1941.19Schristos specified by a POSIX TZ string. 1951.1Sjtc 1961.18Schristos Use abbreviations that are in common use among English-speakers, 1971.18Schristos e.g. 'EST' for Eastern Standard Time in North America. 1981.18Schristos We assume that applications translate them to other languages 1991.18Schristos as part of the normal localization process; for example, 2001.18Schristos a French application might translate 'EST' to 'HNE'. 2011.1Sjtc 2021.18Schristos For zones whose times are taken from a city's longitude, use the 2031.18Schristos traditional xMT notation, e.g. 'PMT' for Paris Mean Time. 2041.18Schristos The only name like this in current use is 'GMT'. 2051.14Schristos 2061.18Schristos Use 'LMT' for local mean time of locations before the introduction 2071.18Schristos of standard time; see "Scope of the tz database". 2081.1Sjtc 2091.18Schristos If there is no common English abbreviation, use numeric offsets like 2101.18Schristos -05 and +0830 that are generated by zic's %z notation. 2111.2Sperry 2121.23Schristos Use current abbreviations for older timestamps to avoid confusion. 2131.23Schristos For example, in 1910 a common English abbreviation for UT +01 2141.23Schristos in central Europe was 'MEZ' (short for both "Middle European 2151.23Schristos Zone" and for "Mitteleuropäische Zeit" in German). Nowadays 2161.23Schristos 'CET' ("Central European Time") is more common in English, and 2171.23Schristos the database uses 'CET' even for circa-1910 timestamps as this 2181.23Schristos is less confusing for modern users and avoids the need for 2191.23Schristos determining when 'CET' supplanted 'MEZ' in common usage. 2201.23Schristos 2211.23Schristos Use a consistent style in a zone's history. For example, if a zone's 2221.23Schristos history tends to use numeric abbreviations and a particular 2231.23Schristos entry could go either way, use a numeric abbreviation. 2241.23Schristos 2251.18Schristos [The remaining guidelines predate the introduction of %z. 2261.18Schristos They are problematic as they mean tz data entries invent 2271.18Schristos notation rather than record it. These guidelines are now 2281.18Schristos deprecated and the plan is to gradually move to %z for 2291.18Schristos inhabited locations and to "-00" for uninhabited locations.] 2301.2Sperry 2311.18Schristos If there is no common English abbreviation, abbreviate the English 2321.18Schristos translation of the usual phrase used by native speakers. 2331.18Schristos If this is not available or is a phrase mentioning the country 2341.18Schristos (e.g. "Cape Verde Time"), then: 2351.2Sperry 2361.18Schristos When a country is identified with a single or principal zone, 2371.18Schristos append 'T' to the country's ISO code, e.g. 'CVT' for 2381.18Schristos Cape Verde Time. For summer time append 'ST'; 2391.18Schristos for double summer time append 'DST'; etc. 2401.18Schristos Otherwise, take the first three letters of an English place 2411.18Schristos name identifying each zone and append 'T', 'ST', etc. 2421.23Schristos as before; e.g. 'CHAST' for CHAtham Summer Time. 2431.1Sjtc 2441.20Schristos Use UT (with time zone abbreviation '-00') for locations while 2451.20Schristos uninhabited. The leading '-' is a flag that the time 2461.20Schristos zone is in some sense undefined; this notation is 2471.20Schristos derived from Internet RFC 3339. 2481.2Sperry 2491.18SchristosApplication writers should note that these abbreviations are ambiguous 2501.18Schristosin practice: e.g. 'CST' has a different meaning in China than 2511.18Schristosit does in the United States. In new applications, it's often better 2521.18Schristosto use numeric UT offsets like '-0600' instead of time zone 2531.18Schristosabbreviations like 'CST'; this avoids the ambiguity. 2541.10Schristos 2551.14Schristos 2561.14Schristos----- Accuracy of the tz database ----- 2571.14Schristos 2581.14SchristosThe tz database is not authoritative, and it surely has errors. 2591.16SchristosCorrections are welcome and encouraged; see the file CONTRIBUTING. 2601.16SchristosUsers requiring authoritative data should consult national standards 2611.16Schristosbodies and the references cited in the database's comments. 2621.10Schristos 2631.14SchristosErrors in the tz database arise from many sources: 2641.14Schristos 2651.14Schristos * The tz database predicts future time stamps, and current predictions 2661.14Schristos will be incorrect after future governments change the rules. 2671.14Schristos For example, if today someone schedules a meeting for 13:00 next 2681.14Schristos October 1, Casablanca time, and tomorrow Morocco changes its 2691.14Schristos daylight saving rules, software can mess up after the rule change 2701.14Schristos if it blithely relies on conversions made before the change. 2711.14Schristos 2721.16Schristos * The pre-1970 entries in this database cover only a tiny sliver of how 2731.14Schristos clocks actually behaved; the vast majority of the necessary 2741.14Schristos information was lost or never recorded. Thousands more zones would 2751.14Schristos be needed if the tz database's scope were extended to cover even 2761.14Schristos just the known or guessed history of standard time; for example, 2771.14Schristos the current single entry for France would need to split into dozens 2781.19Schristos of entries, perhaps hundreds. And in most of the world even this 2791.19Schristos approach would be misleading due to widespread disagreement or 2801.19Schristos indifference about what times should be observed. In her 2015 book 2811.19Schristos "The Global Transformation of Time, 1870-1950", Vanessa Ogle writes 2821.19Schristos "Outside of Europe and North America there was no system of time 2831.19Schristos zones at all, often not even a stable landscape of mean times, 2841.19Schristos prior to the middle decades of the twentieth century". See: 2851.19Schristos Timothy Shenk, Booked: A Global History of Time. Dissent 2015-12-17 2861.19Schristos https://www.dissentmagazine.org/blog/booked-a-global-history-of-time-vanessa-ogle 2871.14Schristos 2881.16Schristos * Most of the pre-1970 data entries come from unreliable sources, often 2891.14Schristos astrology books that lack citations and whose compilers evidently 2901.14Schristos invented entries when the true facts were unknown, without 2911.14Schristos reporting which entries were known and which were invented. 2921.14Schristos These books often contradict each other or give implausible entries, 2931.16Schristos and on the rare occasions when they are checked they are 2941.14Schristos typically found to be incorrect. 2951.14Schristos 2961.14Schristos * For the UK the tz database relies on years of first-class work done by 2971.14Schristos Joseph Myers and others; see <http://www.polyomino.org.uk/british-time/>. 2981.14Schristos Other countries are not done nearly as well. 2991.14Schristos 3001.14Schristos * Sometimes, different people in the same city would maintain clocks 3011.14Schristos that differed significantly. Railway time was used by railroad 3021.14Schristos companies (which did not always agree with each other), 3031.14Schristos church-clock time was used for birth certificates, etc. 3041.14Schristos Often this was merely common practice, but sometimes it was set by law. 3051.14Schristos For example, from 1891 to 1911 the UT offset in France was legally 3061.14Schristos 0:09:21 outside train stations and 0:04:21 inside. 3071.14Schristos 3081.14Schristos * Although a named location in the tz database stands for the 3091.14Schristos containing region, its pre-1970 data entries are often accurate for 3101.14Schristos only a small subset of that region. For example, Europe/London 3111.14Schristos stands for the United Kingdom, but its pre-1847 times are valid 3121.14Schristos only for locations that have London's exact meridian, and its 1847 3131.14Schristos transition to GMT is known to be valid only for the L&NW and the 3141.14Schristos Caledonian railways. 3151.14Schristos 3161.16Schristos * The tz database does not record the earliest time for which a zone's 3171.16Schristos data entries are thereafter valid for every location in the region. 3181.14Schristos For example, Europe/London is valid for all locations in its 3191.14Schristos region after GMT was made the standard time, but the date of 3201.14Schristos standardization (1880-08-02) is not in the tz database, other than 3211.14Schristos in commentary. For many zones the earliest time of validity is 3221.14Schristos unknown. 3231.14Schristos 3241.14Schristos * The tz database does not record a region's boundaries, and in many 3251.14Schristos cases the boundaries are not known. For example, the zone 3261.14Schristos America/Kentucky/Louisville represents a region around the city of 3271.14Schristos Louisville, the boundaries of which are unclear. 3281.14Schristos 3291.14Schristos * Changes that are modeled as instantaneous transitions in the tz 3301.14Schristos database were often spread out over hours, days, or even decades. 3311.14Schristos 3321.14Schristos * Even if the time is specified by law, locations sometimes 3331.14Schristos deliberately flout the law. 3341.14Schristos 3351.14Schristos * Early timekeeping practices, even assuming perfect clocks, were 3361.14Schristos often not specified to the accuracy that the tz database requires. 3371.14Schristos 3381.14Schristos * Sometimes historical timekeeping was specified more precisely 3391.14Schristos than what the tz database can handle. For example, from 1909 to 3401.21Schristos 1937 Netherlands clocks were legally UT +00:19:32.13, but the tz 3411.14Schristos database cannot represent the fractional second. 3421.14Schristos 3431.14Schristos * Even when all the timestamp transitions recorded by the tz database 3441.14Schristos are correct, the tz rules that generate them may not faithfully 3451.14Schristos reflect the historical rules. For example, from 1922 until World 3461.14Schristos War II the UK moved clocks forward the day following the third 3471.14Schristos Saturday in April unless that was Easter, in which case it moved 3481.14Schristos clocks forward the previous Sunday. Because the tz database has no 3491.14Schristos way to specify Easter, these exceptional years are entered as 3501.14Schristos separate tz Rule lines, even though the legal rules did not change. 3511.14Schristos 3521.16Schristos * The tz database models pre-standard time using the proleptic Gregorian 3531.14Schristos calendar and local mean time (LMT), but many people used other 3541.14Schristos calendars and other timescales. For example, the Roman Empire used 3551.14Schristos the Julian calendar, and had 12 varying-length daytime hours with a 3561.14Schristos non-hour-based system at night. 3571.14Schristos 3581.16Schristos * Early clocks were less reliable, and data entries do not represent 3591.23Schristos clock error. 3601.14Schristos 3611.23Schristos * The tz database assumes Universal Time (UT) as an origin, even 3621.23Schristos though UT is not standardized for older time stamps. In the tz 3631.23Schristos database commentary, UT denotes a family of time standards that 3641.23Schristos includes Coordinated Universal Time (UTC) along with other variants 3651.23Schristos such as UT1 and GMT, with days starting at midnight. Although UT 3661.23Schristos equals UTC for modern time stamps, UTC was not defined until 1960, 3671.23Schristos so commentary uses the more-general abbreviation UT for time stamps 3681.23Schristos that might predate 1960. Since UT, UT1, etc. disagree slightly, 3691.23Schristos and since pre-1972 UTC seconds varied in length, interpretation of 3701.23Schristos older time stamps can be problematic when subsecond accuracy is 3711.23Schristos needed. 3721.23Schristos 3731.23Schristos * Civil time was not based on atomic time before 1972, and we don't 3741.23Schristos know the history of earth's rotation accurately enough to map SI 3751.23Schristos seconds to historical solar time to more than about one-hour 3761.23Schristos accuracy. See: Stephenson FR, Morrison LV, Hohenkerk CY. 3771.23Schristos Measurement of the Earth's rotation: 720 BC to AD 2015. 3781.23Schristos Proc Royal Soc A. 2016 Dec 7;472:20160404. 3791.23Schristos http://dx.doi.org/10.1098/rspa.2016.0404 3801.23Schristos Also see: Espenak F. Uncertainty in Delta T (ΔT). 3811.23Schristos http://eclipse.gsfc.nasa.gov/SEhelp/uncertainty2004.html 3821.14Schristos 3831.14Schristos * The relationship between POSIX time (that is, UTC but ignoring leap 3841.14Schristos seconds) and UTC is not agreed upon after 1972. Although the POSIX 3851.14Schristos clock officially stops during an inserted leap second, at least one 3861.14Schristos proposed standard has it jumping back a second instead; and in 3871.14Schristos practice POSIX clocks more typically either progress glacially during 3881.14Schristos a leap second, or are slightly slowed while near a leap second. 3891.14Schristos 3901.14Schristos * The tz database does not represent how uncertain its information is. 3911.16Schristos Ideally it would contain information about when data entries are 3921.14Schristos incomplete or dicey. Partial temporal knowledge is a field of 3931.14Schristos active research, though, and it's not clear how to apply it here. 3941.14Schristos 3951.14SchristosIn short, many, perhaps most, of the tz database's pre-1970 and future 3961.14Schristostime stamps are either wrong or misleading. Any attempt to pass the 3971.14Schristostz database off as the definition of time should be unacceptable to 3981.14Schristosanybody who cares about the facts. In particular, the tz database's 3991.14SchristosLMT offsets should not be considered meaningful, and should not prompt 4001.14Schristoscreation of zones merely because two locations differ in LMT or 4011.14Schristostransitioned to standard time at different dates. 4021.14Schristos 4031.10Schristos 4041.18Schristos----- Time and date functions ----- 4051.18Schristos 4061.18SchristosThe tz code contains time and date functions that are upwards 4071.18Schristoscompatible with those of POSIX. 4081.18Schristos 4091.18SchristosPOSIX has the following properties and limitations. 4101.18Schristos 4111.18Schristos* In POSIX, time display in a process is controlled by the 4121.18Schristos environment variable TZ. Unfortunately, the POSIX TZ string takes 4131.18Schristos a form that is hard to describe and is error-prone in practice. 4141.18Schristos Also, POSIX TZ strings can't deal with other (for example, Israeli) 4151.18Schristos daylight saving time rules, or situations where more than two 4161.18Schristos time zone abbreviations are used in an area. 4171.18Schristos 4181.18Schristos The POSIX TZ string takes the following form: 4191.18Schristos 4201.18Schristos stdoffset[dst[offset][,date[/time],date[/time]]] 4211.18Schristos 4221.18Schristos where: 4231.18Schristos 4241.18Schristos std and dst 4251.18Schristos are 3 or more characters specifying the standard 4261.18Schristos and daylight saving time (DST) zone names. 4271.18Schristos Starting with POSIX.1-2001, std and dst may also be 4281.18Schristos in a quoted form like "<UTC+10>"; this allows 4291.18Schristos "+" and "-" in the names. 4301.18Schristos offset 4311.18Schristos is of the form '[+-]hh:[mm[:ss]]' and specifies the 4321.18Schristos offset west of UT. 'hh' may be a single digit; 0<=hh<=24. 4331.18Schristos The default DST offset is one hour ahead of standard time. 4341.18Schristos date[/time],date[/time] 4351.18Schristos specifies the beginning and end of DST. If this is absent, 4361.18Schristos the system supplies its own rules for DST, and these can 4371.18Schristos differ from year to year; typically US DST rules are used. 4381.18Schristos time 4391.18Schristos takes the form 'hh:[mm[:ss]]' and defaults to 02:00. 4401.18Schristos This is the same format as the offset, except that a 4411.18Schristos leading '+' or '-' is not allowed. 4421.18Schristos date 4431.18Schristos takes one of the following forms: 4441.18Schristos Jn (1<=n<=365) 4451.18Schristos origin-1 day number not counting February 29 4461.18Schristos n (0<=n<=365) 4471.18Schristos origin-0 day number counting February 29 if present 4481.18Schristos Mm.n.d (0[Sunday]<=d<=6[Saturday], 1<=n<=5, 1<=m<=12) 4491.18Schristos for the dth day of week n of month m of the year, 4501.18Schristos where week 1 is the first week in which day d appears, 4511.18Schristos and '5' stands for the last week in which day d appears 4521.18Schristos (which may be either the 4th or 5th week). 4531.18Schristos Typically, this is the only useful form; 4541.18Schristos the n and Jn forms are rarely used. 4551.18Schristos 4561.18Schristos Here is an example POSIX TZ string, for US Pacific time using rules 4571.18Schristos appropriate from 1987 through 2006: 4581.2Sperry 4591.18Schristos TZ='PST8PDT,M4.1.0/02:00,M10.5.0/02:00' 4601.6Skleink 4611.18Schristos This POSIX TZ string is hard to remember, and mishandles time stamps 4621.18Schristos before 1987 and after 2006. With this package you can use this 4631.18Schristos instead: 4641.6Skleink 4651.18Schristos TZ='America/Los_Angeles' 4661.6Skleink 4671.18Schristos* POSIX does not define the exact meaning of TZ values like "EST5EDT". 4681.18Schristos Typically the current US DST rules are used to interpret such values, 4691.18Schristos but this means that the US DST rules are compiled into each program 4701.18Schristos that does time conversion. This means that when US time conversion 4711.18Schristos rules change (as in the United States in 1987), all programs that 4721.18Schristos do time conversion must be recompiled to ensure proper results. 4731.6Skleink 4741.22Schristos* The TZ environment variable is process-global, which makes it hard 4751.22Schristos to write efficient, thread-safe applications that need access 4761.22Schristos to multiple time zones. 4771.22Schristos 4781.18Schristos* In POSIX, there's no tamper-proof way for a process to learn the 4791.18Schristos system's best idea of local wall clock. (This is important for 4801.18Schristos applications that an administrator wants used only at certain times - 4811.18Schristos without regard to whether the user has fiddled the "TZ" environment 4821.18Schristos variable. While an administrator can "do everything in UTC" to get 4831.18Schristos around the problem, doing so is inconvenient and precludes handling 4841.18Schristos daylight saving time shifts - as might be required to limit phone 4851.18Schristos calls to off-peak hours.) 4861.2Sperry 4871.22Schristos* POSIX provides no convenient and efficient way to determine the UT 4881.22Schristos offset and time zone abbreviation of arbitrary time stamps, 4891.22Schristos particularly for time zone settings that do not fit into the 4901.22Schristos POSIX model. 4911.22Schristos 4921.18Schristos* POSIX requires that systems ignore leap seconds. 4931.2Sperry 4941.18Schristos* The tz code attempts to support all the time_t implementations 4951.18Schristos allowed by POSIX. The time_t type represents a nonnegative count of 4961.18Schristos seconds since 1970-01-01 00:00:00 UTC, ignoring leap seconds. 4971.18Schristos In practice, time_t is usually a signed 64- or 32-bit integer; 32-bit 4981.18Schristos signed time_t values stop working after 2038-01-19 03:14:07 UTC, so 4991.18Schristos new implementations these days typically use a signed 64-bit integer. 5001.18Schristos Unsigned 32-bit integers are used on one or two platforms, 5011.18Schristos and 36-bit and 40-bit integers are also used occasionally. 5021.18Schristos Although earlier POSIX versions allowed time_t to be a 5031.18Schristos floating-point type, this was not supported by any practical 5041.18Schristos systems, and POSIX.1-2013 and the tz code both require time_t 5051.18Schristos to be an integer type. 5061.2Sperry 5071.18SchristosThese are the extensions that have been made to the POSIX functions: 5081.2Sperry 5091.18Schristos* The "TZ" environment variable is used in generating the name of a file 5101.18Schristos from which time zone information is read (or is interpreted a la 5111.18Schristos POSIX); "TZ" is no longer constrained to be a three-letter time zone 5121.18Schristos name followed by a number of hours and an optional three-letter 5131.18Schristos daylight time zone name. The daylight saving time rules to be used 5141.18Schristos for a particular time zone are encoded in the time zone file; 5151.18Schristos the format of the file allows U.S., Australian, and other rules to be 5161.18Schristos encoded, and allows for situations where more than two time zone 5171.18Schristos abbreviations are used. 5181.2Sperry 5191.18Schristos It was recognized that allowing the "TZ" environment variable to 5201.18Schristos take on values such as "America/New_York" might cause "old" programs 5211.18Schristos (that expect "TZ" to have a certain form) to operate incorrectly; 5221.18Schristos consideration was given to using some other environment variable 5231.18Schristos (for example, "TIMEZONE") to hold the string used to generate the 5241.18Schristos time zone information file name. In the end, however, it was decided 5251.18Schristos to continue using "TZ": it is widely used for time zone purposes; 5261.18Schristos separately maintaining both "TZ" and "TIMEZONE" seemed a nuisance; 5271.18Schristos and systems where "new" forms of "TZ" might cause problems can simply 5281.18Schristos use TZ values such as "EST5EDT" which can be used both by 5291.18Schristos "new" programs (a la POSIX) and "old" programs (as zone names and 5301.18Schristos offsets). 5311.2Sperry 5321.22Schristos* The code supports platforms with a UT offset member in struct tm, 5331.22Schristos e.g., tm_gmtoff. 5341.22Schristos 5351.22Schristos* The code supports platforms with a time zone abbreviation member in 5361.22Schristos struct tm, e.g., tm_zone. 5371.15Schristos 5381.18Schristos* Since the "TZ" environment variable can now be used to control time 5391.18Schristos conversion, the "daylight" and "timezone" variables are no longer 5401.18Schristos needed. (These variables are defined and set by "tzset"; however, their 5411.18Schristos values will not be used by "localtime.") 5421.15Schristos 5431.22Schristos* Functions tzalloc, tzfree, localtime_rz, and mktime_z for 5441.22Schristos more-efficient thread-safe applications that need to use 5451.22Schristos multiple time zones. The tzalloc and tzfree functions 5461.22Schristos allocate and free objects of type timezone_t, and localtime_rz 5471.22Schristos and mktime_z are like localtime_r and mktime with an extra 5481.22Schristos timezone_t argument. The functions were inspired by NetBSD. 5491.2Sperry 5501.18Schristos* A function "tzsetwall" has been added to arrange for the system's 5511.18Schristos best approximation to local wall clock time to be delivered by 5521.18Schristos subsequent calls to "localtime." Source code for portable 5531.18Schristos applications that "must" run on local wall clock time should call 5541.18Schristos "tzsetwall();" if such code is moved to "old" systems that don't 5551.18Schristos provide tzsetwall, you won't be able to generate an executable program. 5561.18Schristos (These time zone functions also arrange for local wall clock time to be 5571.18Schristos used if tzset is called - directly or indirectly - and there's no "TZ" 5581.18Schristos environment variable; portable applications should not, however, rely 5591.18Schristos on this behavior since it's not the way SVR2 systems behave.) 5601.2Sperry 5611.18Schristos* Negative time_t values are supported, on systems where time_t is signed. 5621.2Sperry 5631.18Schristos* These functions can account for leap seconds, thanks to Bradley White. 5641.6Skleink 5651.18SchristosPoints of interest to folks with other systems: 5661.6Skleink 5671.22Schristos* Code compatible with this package is already part of many platforms, 5681.22Schristos including GNU/Linux, Android, the BSDs, Chromium OS, Cygwin, AIX, iOS, 5691.22Schristos BlackBery 10, macOS, Microsoft Windows, OpenVMS, and Solaris. 5701.18Schristos On such hosts, the primary use of this package 5711.18Schristos is to update obsolete time zone rule tables. 5721.18Schristos To do this, you may need to compile the time zone compiler 5731.18Schristos 'zic' supplied with this package instead of using the system 'zic', 5741.22Schristos since the format of zic's input is occasionally extended, 5751.22Schristos and a platform may still be shipping an older zic. 5761.6Skleink 5771.18Schristos* The UNIX Version 7 "timezone" function is not present in this package; 5781.18Schristos it's impossible to reliably map timezone's arguments (a "minutes west 5791.18Schristos of GMT" value and a "daylight saving time in effect" flag) to a 5801.18Schristos time zone abbreviation, and we refuse to guess. 5811.18Schristos Programs that in the past used the timezone function may now examine 5821.18Schristos tzname[localtime(&clock)->tm_isdst] to learn the correct time 5831.18Schristos zone abbreviation to use. Alternatively, use 5841.18Schristos localtime(&clock)->tm_zone if this has been enabled. 5851.6Skleink 5861.18Schristos* The 4.2BSD gettimeofday function is not used in this package. 5871.18Schristos This formerly let users obtain the current UTC offset and DST flag, 5881.18Schristos but this functionality was removed in later versions of BSD. 5891.2Sperry 5901.18Schristos* In SVR2, time conversion fails for near-minimum or near-maximum 5911.18Schristos time_t values when doing conversions for places that don't use UT. 5921.18Schristos This package takes care to do these conversions correctly. 5931.22Schristos A comment in the source code tells how to get compatibly wrong 5941.22Schristos results. 5951.2Sperry 5961.18SchristosThe functions that are conditionally compiled if STD_INSPIRED is defined 5971.18Schristosshould, at this point, be looked on primarily as food for thought. They are 5981.18Schristosnot in any sense "standard compatible" - some are not, in fact, specified in 5991.18Schristos*any* standard. They do, however, represent responses of various authors to 6001.18Schristosstandardization proposals. 6011.14Schristos 6021.18SchristosOther time conversion proposals, in particular the one developed by folks at 6031.18SchristosHewlett Packard, offer a wider selection of functions that provide capabilities 6041.18Schristosbeyond those provided here. The absence of such functions from this package 6051.18Schristosis not meant to discourage the development, standardization, or use of such 6061.18Schristosfunctions. Rather, their absence reflects the decision to make this package 6071.18Schristoscontain valid extensions to POSIX, to ensure its broad acceptability. If 6081.18Schristosmore powerful time conversion functions can be standardized, so much the 6091.18Schristosbetter. 6101.4Skleink 6111.4Skleink 6121.22Schristos----- Interface stability ----- 6131.22Schristos 6141.22SchristosThe tz code and data supply the following interfaces: 6151.22Schristos 6161.22Schristos * A set of zone names as per "Names of time zone rules" above. 6171.22Schristos 6181.22Schristos * Library functions described in "Time and date functions" above. 6191.22Schristos 6201.22Schristos * The programs tzselect, zdump, and zic, documented in their man pages. 6211.22Schristos 6221.22Schristos * The format of zic input files, documented in the zic man page. 6231.22Schristos 6241.22Schristos * The format of zic output files, documented in the tzfile man page. 6251.22Schristos 6261.22Schristos * The format of zone table files, documented in zone1970.tab. 6271.22Schristos 6281.22Schristos * The format of the country code file, documented in iso3166.tab. 6291.22Schristos 6301.23Schristos * The version number of the code and data, as the first line of 6311.23Schristos the text file 'version' in each release. 6321.23Schristos 6331.23SchristosInterface changes in a release attempt to preserve compatibility with 6341.23Schristosrecent releases. For example, tz data files typically do not rely on 6351.23Schristosrecently-added zic features, so that users can run older zic versions 6361.23Schristosto process newer data files. The tz-link.htm file describes how 6371.23Schristosreleases are tagged and distributed. 6381.22Schristos 6391.22SchristosInterfaces not listed above are less stable. For example, users 6401.22Schristosshould not rely on particular UT offsets or abbreviations for time 6411.22Schristosstamps, as data entries are often based on guesswork and these guesses 6421.22Schristosmay be corrected or improved. 6431.22Schristos 6441.22Schristos 6451.4Skleink----- Calendrical issues ----- 6461.4Skleink 6471.4SkleinkCalendrical issues are a bit out of scope for a time zone database, 6481.4Skleinkbut they indicate the sort of problems that we would run into if we 6491.4Skleinkextended the time zone database further into the past. An excellent 6501.10Schristosresource in this area is Nachum Dershowitz and Edward M. Reingold, 6511.15SchristosCalendrical Calculations: Third Edition, Cambridge University Press (2008) 6521.15Schristos<http://emr.cs.iit.edu/home/reingold/calendar-book/third-edition/>. 6531.15SchristosOther information and sources are given below. They sometimes disagree. 6541.4Skleink 6551.4Skleink 6561.4SkleinkFrance 6571.4Skleink 6581.4SkleinkGregorian calendar adopted 1582-12-20. 6591.4SkleinkFrench Revolutionary calendar used 1793-11-24 through 1805-12-31, 6601.4Skleinkand (in Paris only) 1871-05-06 through 1871-05-23. 6611.4Skleink 6621.4Skleink 6631.4SkleinkRussia 6641.4Skleink 6651.9SmlelstvFrom Chris Carrier (1996-12-02): 6661.14SchristosOn 1929-10-01 the Soviet Union instituted an "Eternal Calendar" 6671.4Skleinkwith 30-day months plus 5 holidays, with a 5-day week. 6681.4SkleinkOn 1931-12-01 it changed to a 6-day week; in 1934 it reverted to the 6691.4SkleinkGregorian calendar while retaining the 6-day week; on 1940-06-27 it 6701.4Skleinkreverted to the 7-day week. With the 6-day week the usual days 6711.4Skleinkoff were the 6th, 12th, 18th, 24th and 30th of the month. 6721.4Skleink(Source: Evitiar Zerubavel, _The Seven Day Circle_) 6731.4Skleink 6741.4Skleink 6751.4SkleinkMark Brader reported a similar story in "The Book of Calendars", edited 6761.4Skleinkby Frank Parise (1982, Facts on File, ISBN 0-8719-6467-8), page 377. But: 6771.4Skleink 6781.4SkleinkFrom: Petteri Sulonen (via Usenet) 6791.4SkleinkDate: 14 Jan 1999 00:00:00 GMT 6801.9Smlelstv... 6811.4Skleink 6821.15SchristosIf your source is correct, how come documents between 1929 and 1940 were 6831.4Skleinkstill dated using the conventional, Gregorian calendar? 6841.4Skleink 6851.4SkleinkI can post a scan of a document dated December 1, 1934, signed by 6861.4SkleinkYenukidze, the secretary, on behalf of Kalinin, the President of the 6871.4SkleinkExecutive Committee of the Supreme Soviet, if you like. 6881.4Skleink 6891.4Skleink 6901.4Skleink 6911.4SkleinkSweden (and Finland) 6921.4Skleink 6931.9SmlelstvFrom: Mark Brader 6941.15SchristosSubject: Re: Gregorian reform - a part of locale? 6951.15Schristos<news:1996Jul6.012937.29190@sq.com> 6961.4SkleinkDate: 1996-07-06 6971.4Skleink 6981.4SkleinkIn 1700, Denmark made the transition from Julian to Gregorian. Sweden 6991.4Skleinkdecided to *start* a transition in 1700 as well, but rather than have one of 7001.4Skleinkthose unsightly calendar gaps :-), they simply decreed that the next leap 7011.15Schristosyear after 1696 would be in 1744 - putting the whole country on a calendar 7021.4Skleinkdifferent from both Julian and Gregorian for a period of 40 years. 7031.4Skleink 7041.4SkleinkHowever, in 1704 something went wrong and the plan was not carried through; 7051.4Skleinkthey did, after all, have a leap year that year. And one in 1708. In 1712 7061.4Skleinkthey gave it up and went back to Julian, putting 30 days in February that 7071.4Skleinkyear!... 7081.4Skleink 7091.4SkleinkThen in 1753, Sweden made the transition to Gregorian in the usual manner, 7101.4Skleinkgetting there only 13 years behind the original schedule. 7111.4Skleink 7121.4Skleink(A previous posting of this story was challenged, and Swedish readers 7131.15Schristosproduced the following references to support it: "Tideräkning och historia" 7141.15Schristosby Natanael Beckman (1924) and "Tid, en bok om tideräkning och 7151.15Schristoskalenderväsen" by Lars-Olof Lodén (1968). 7161.4Skleink 7171.4Skleink 7181.4SkleinkGrotefend's data 7191.4Skleink 7201.9SmlelstvFrom: "Michael Palmer" [with one obvious typo fixed] 7211.4SkleinkSubject: Re: Gregorian Calendar (was Re: Another FHC related question 7221.4SkleinkNewsgroups: soc.genealogy.german 7231.4SkleinkDate: Tue, 9 Feb 1999 02:32:48 -800 7241.9Smlelstv... 7251.4Skleink 7261.6SkleinkThe following is a(n incomplete) listing, arranged chronologically, of 7271.6SkleinkEuropean states, with the date they converted from the Julian to the 7281.4SkleinkGregorian calendar: 7291.4Skleink 7301.4Skleink04/15 Oct 1582 - Italy (with exceptions), Spain, Portugal, Poland (Roman 7311.4Skleink Catholics and Danzig only) 7321.4Skleink09/20 Dec 1582 - France, Lorraine 7331.4Skleink 7341.4Skleink21 Dec 1582/ 7351.4Skleink 01 Jan 1583 - Holland, Brabant, Flanders, Hennegau 7361.15Schristos10/21 Feb 1583 - bishopric of Liege (Lüttich) 7371.4Skleink13/24 Feb 1583 - bishopric of Augsburg 7381.4Skleink04/15 Oct 1583 - electorate of Trier 7391.4Skleink05/16 Oct 1583 - Bavaria, bishoprics of Freising, Eichstedt, Regensburg, 7401.4Skleink Salzburg, Brixen 7411.15Schristos13/24 Oct 1583 - Austrian Oberelsaß and Breisgau 7421.4Skleink20/31 Oct 1583 - bishopric of Basel 7431.15Schristos02/13 Nov 1583 - duchy of Jülich-Berg 7441.15Schristos02/13 Nov 1583 - electorate and city of Köln 7451.15Schristos04/15 Nov 1583 - bishopric of Würzburg 7461.4Skleink11/22 Nov 1583 - electorate of Mainz 7471.4Skleink16/27 Nov 1583 - bishopric of Strassburg and the margraviate of Baden 7481.15Schristos17/28 Nov 1583 - bishopric of Münster and duchy of Cleve 7491.4Skleink14/25 Dec 1583 - Steiermark 7501.4Skleink 7511.4Skleink06/17 Jan 1584 - Austria and Bohemia 7521.15Schristos11/22 Jan 1584 - Lucerne, Uri, Schwyz, Zug, Freiburg, Solothurn 7531.4Skleink12/23 Jan 1584 - Silesia and the Lausitz 7541.4Skleink22 Jan/ 7551.4Skleink 02 Feb 1584 - Hungary (legally on 21 Oct 1587) 7561.4Skleink Jun 1584 - Unterwalden 7571.4Skleink01/12 Jul 1584 - duchy of Westfalen 7581.4Skleink 7591.4Skleink16/27 Jun 1585 - bishopric of Paderborn 7601.4Skleink 7611.4Skleink14/25 Dec 1590 - Transylvania 7621.4Skleink 7631.4Skleink22 Aug/ 7641.4Skleink 02 Sep 1612 - duchy of Prussia 7651.4Skleink 7661.4Skleink13/24 Dec 1614 - Pfalz-Neuburg 7671.4Skleink 7681.4Skleink 1617 - duchy of Kurland (reverted to the Julian calendar in 7691.4Skleink 1796) 7701.4Skleink 7711.15Schristos 1624 - bishopric of Osnabrück 7721.4Skleink 7731.4Skleink 1630 - bishopric of Minden 7741.4Skleink 7751.4Skleink15/26 Mar 1631 - bishopric of Hildesheim 7761.4Skleink 7771.4Skleink 1655 - Kanton Wallis 7781.4Skleink 7791.4Skleink05/16 Feb 1682 - city of Strassburg 7801.4Skleink 7811.4Skleink18 Feb/ 7821.4Skleink 01 Mar 1700 - Protestant Germany (including Swedish possessions in 7831.4Skleink Germany), Denmark, Norway 7841.4Skleink30 Jun/ 7851.4Skleink 12 Jul 1700 - Gelderland, Zutphen 7861.4Skleink10 Nov/ 7871.4Skleink 12 Dec 1700 - Utrecht, Overijssel 7881.4Skleink 7891.4Skleink31 Dec 1700/ 7901.15Schristos 12 Jan 1701 - Friesland, Groningen, Zürich, Bern, Basel, Geneva, 7911.4Skleink Turgau, and Schaffhausen 7921.4Skleink 7931.4Skleink 1724 - Glarus, Appenzell, and the city of St. Gallen 7941.4Skleink 7951.4Skleink01 Jan 1750 - Pisa and Florence 7961.4Skleink 7971.4Skleink02/14 Sep 1752 - Great Britain 7981.4Skleink 7991.4Skleink17 Feb/ 8001.4Skleink 01 Mar 1753 - Sweden 8011.4Skleink 8021.15Schristos1760-1812 - Graubünden 8031.4Skleink 8041.6SkleinkThe Russian empire (including Finland and the Baltic states) did not 8051.4Skleinkconvert to the Gregorian calendar until the Soviet revolution of 1917. 8061.4Skleink 8071.16SchristosSource: H. Grotefend, _Taschenbuch der Zeitrechnung des deutschen 8081.6SkleinkMittelalters und der Neuzeit_, herausgegeben von Dr. O. Grotefend 8091.16Schristos(Hannover: Hahnsche Buchhandlung, 1941), pp. 26-28. 8101.8Skleink 8111.8Skleink 8121.8Skleink----- Time and time zones on Mars ----- 8131.8Skleink 8141.17SchristosSome people's work schedules use Mars time. Jet Propulsion Laboratory 8151.17Schristos(JPL) coordinators have kept Mars time on and off at least since 1997 8161.17Schristosfor the Mars Pathfinder mission. Some of their family members have 8171.17Schristosalso adapted to Mars time. Dozens of special Mars watches were built 8181.17Schristosfor JPL workers who kept Mars time during the Mars Exploration 8191.8SkleinkRovers mission (2004). These timepieces look like normal Seikos and 8201.8SkleinkCitizens but use Mars seconds rather than terrestrial seconds. 8211.8Skleink 8221.8SkleinkA Mars solar day is called a "sol" and has a mean period equal to 8231.8Skleinkabout 24 hours 39 minutes 35.244 seconds in terrestrial time. It is 8241.8Skleinkdivided into a conventional 24-hour clock, so each Mars second equals 8251.8Skleinkabout 1.02749125 terrestrial seconds. 8261.8Skleink 8271.8SkleinkThe prime meridian of Mars goes through the center of the crater 8281.8SkleinkAiry-0, named in honor of the British astronomer who built the 8291.8SkleinkGreenwich telescope that defines Earth's prime meridian. Mean solar 8301.8Skleinktime on the Mars prime meridian is called Mars Coordinated Time (MTC). 8311.8Skleink 8321.8SkleinkEach landed mission on Mars has adopted a different reference for 8331.8Skleinksolar time keeping, so there is no real standard for Mars time zones. 8341.8SkleinkFor example, the Mars Exploration Rover project (2004) defined two 8351.8Skleinktime zones "Local Solar Time A" and "Local Solar Time B" for its two 8361.8Skleinkmissions, each zone designed so that its time equals local true solar 8371.8Skleinktime at approximately the middle of the nominal mission. Such a "time 8381.8Skleinkzone" is not particularly suited for any application other than the 8391.8Skleinkmission itself. 8401.8Skleink 8411.8SkleinkMany calendars have been proposed for Mars, but none have achieved 8421.8Skleinkwide acceptance. Astronomers often use Mars Sol Date (MSD) which is a 8431.8Skleinksequential count of Mars solar days elapsed since about 1873-12-29 8441.8Skleink12:00 GMT. 8451.8Skleink 8461.8SkleinkThe tz database does not currently support Mars time, but it is 8471.8Skleinkdocumented here in the hopes that support will be added eventually. 8481.8Skleink 8491.8SkleinkSources: 8501.8Skleink 8511.8SkleinkMichael Allison and Robert Schmunk, 8521.8Skleink"Technical Notes on Mars Solar Time as Adopted by the Mars24 Sunclock" 8531.13Schristos<http://www.giss.nasa.gov/tools/mars24/help/notes.html> (2012-08-08). 8541.8Skleink 8551.8SkleinkJia-Rui Chong, "Workdays Fit for a Martian", Los Angeles Times 8561.13Schristos<http://articles.latimes.com/2004/jan/14/science/sci-marstime14> 8571.8Skleink(2004-01-14), pp A1, A20-A21. 8581.15Schristos 8591.17SchristosTom Chmielewski, "Jet Lag Is Worse on Mars", The Atlantic (2015-02-26) 8601.17Schristos<http://www.theatlantic.com/technology/archive/2015/02/jet-lag-is-worse-on-mars/386033/> 8611.15Schristos 8621.15Schristos----- 8631.18Schristos 8641.18SchristosThis file is in the public domain, so clarified as of 2009-05-17 by 8651.18SchristosArthur David Olson. 8661.18Schristos 8671.18Schristos----- 8681.15SchristosLocal Variables: 8691.15Schristoscoding: utf-8 8701.15SchristosEnd: 871