Epoch (reference date)
In the fields of chronology and periodization, an epoch is an instant in time chosen as the origin of a particular era. The "epoch" then serves as a reference point from which time is measured. Time measurement units are counted from the epoch so that the date and time of events can be specified unambiguously.
Events taking place before the epoch can be dated by counting negatively from the epoch, though in pragmatic periodization practice, epochs are defined for the past, and another epoch is used to start the next era, therefore serving as the ending of the older preceding era. The whole purpose and criteria of such definitions are to clarify and co-ordinate scholarship about a period, at times, across disciplines.
Epochs are generally chosen to be convenient or significant by a consensus of the time scale's initial users, or by authoritarian fiat. The epoch moment or date is usually defined by a specific clear event, condition, or criterion—the epoch event or epoch criterion—from which the period or era or age is usually characterized or described.
|
|
Calendar eras
Regnal eras
The official Japanese system numbers years from the accession of the current emperor, regarding the calendar year during which the accession occurred as the first year. A similar system existed in China before 1912, being based on the accession year of the emperor (1911 was thus the third year of the Xuantong period). With the establishment of the Republic of China in 1912, the republican era was introduced. It is still very common in Taiwan to date events via the republican era. The People's Republic of China adopted the common era calendar in 1949 (the 38th year of the Chinese Republic).
Pre-modern eras
- Olympiads, the ancient Greek era of four-year periods beginning in 776 BC.
- Ab urbe condita (753 BC), used in the Roman imperial period.
- The Anno Domini or "Common Era" era, still in use with the Gregorian and Julian calendars today, marks the Incarnation of Jesus as calculated in the 6th century by Dionysius Exiguus.[1]
- Anno Mundi (years since the creation of the world) as used in the Byzantine calendar (5509 BC).
- Anno Mundi (years since the creation of the world) as used in the Hebrew calendar (3761 BC).[2][3]
- The Islamic calendar counts "lunar years" by Anno Hegiræ (in the year of the hijra) or AH era (AD 622). The year count shifts relative to the solar year as the calendar is purely lunar. The official Iranian calendar (used in Afghanistan as well as Iran) also dates from the hijra, but as it is a solar calendar its year numbering does not coincide with the religious calendar.
- The term Hindu calendar may refer to a number of traditional Indian calendars. A notable example of a Hindu epoch is the Vikram Samvat (58 BC),[4] also used in modern times as "national calendar" of Nepal and Bangladesh.
- Buddhist calendars tend to use the epoch of 544 BC (date of Buddha's parinirvana).
Modern eras
- The Baha'i calendar is dated from the vernal equinox of the year the Báb proclaimed his religion (AD 1844). Years are grouped in Váḥids of 19 years, and Kull-i-Shay’s of 361 (19 x 19) years.[5]
- In Thailand in 1888 King Chulalongkorn decreed a National Thai Era dating from the founding of Bangkok on April 6, 1782. In 1912, New Year's Day was shifted to April 1. In 1941, Prime Minister Phibunsongkhram decided to count the years since 543 BC. This is the Thai solar calendar using the Thai Buddhist Era. Except for this era, it is the Gregorian calendar.
- In the French Republican Calendar, a calendar used by the French government for about twelve years from late 1793, the epoch was the beginning of the "Republican Era", September 22, 1792 (the day the French First Republic was proclaimed, one day after the Convention abolished the monarchy).
- The Indian national calendar, introduced in 1957, follows the Saka era (AD 78).
- Minguo calendar used by officials of Taiwan and its predecessor since January 1, 1912, the first year after Xinhai Revolution which overthrew Qing Empire and the subsequent establishment of the republic.
- North Korea uses a system that starts in 1912 (= Juche 1), the year of the birth of their founder Kim Il-Sung.
- In the scientific Before Present system of numbering years for purposes of radiocarbon dating, the reference date is January 1, 1950 (though the use of January 1 is quite irrelevant, as radiocarbon dating has limited precision).[6][7]
- Different branches of Freemasonry have selected different years to date their documents according to a Masonic era, such as the Anno Lucis (A.L.).
Astronomy
In astronomy, an epoch is a specific moment in time for which celestial coordinates or orbital elements are specified, and from which other orbital parametrics are thereafter calculated in order to predict future position. The applied tools of the mathematics disciplines of Celestial mechanics or its subfield Orbital mechanics (both predict orbital paths and positions) about a center of gravity are used to generate an ephemeris (plural: ephemerides; from the Greek word ephemeros = daily) which is a table of values that gives the positions of astronomical objects in the sky at a given time or times, or a formula to calculate such given the proper time offset from the epoch. Such calculations generally result in an elliptical path on a plane defined by some point on the orbit, and the two foci of the ellipse. Viewing from another orbiting body, following its own trace and orbit, creates shifts in three dimensions in the spherical trigonometry used to calculate relative positions. These dynamics in three dimensions are also elliptical, which means the ephemeris need only specify one set of equations to be a useful predictive tool to predict future location of the object of interest.
Over time, inexactitudes and other errors accumulate, creating more and greater errors of prediction, so ephemeris factors need to be recalculated from time to time, and that requires a new epoch to be defined. Different astronomers or groups of astronomers used to define epochs to suit themselves, but in these days of speedy communications, the epochs are generally defined in an international agreement, so astronomers worldwide can collaborate more effectively. It was inefficient and error prone for data observed by one group to need translation (mathematic transformation) so other groups could compare information.
J2000.0
The current standard epoch is called "J2000.0" This is defined by international agreement to be equivalent to:
- The Gregorian date January 1, 2000 at approximately 12:00 GMT (Greenwich Mean Time).
- The Julian date 2451545.0 TT (Terrestrial Time).[8]
- January 1, 2000, 11:59:27.816 TAI (International Atomic Time).[9]
- January 1, 2000, 11:58:55.816 UTC (Coordinated Universal Time).[lower-alpha 1]
Computing
The time kept internally by a computer system is usually expressed as the number of time units that have elapsed since a specified epoch, which is nearly always specified as midnight Universal Time on some particular date.
Software timekeeping systems vary widely in the granularity of their time units; some systems may use time units as large as a day, while others may use nanoseconds. For example, for an epoch date of midnight UTC (00:00) on January 1, 1900, and a time unit of a second, the time of the midnight (24:00) between January 1 and 2, 1900 is represented by the number 86400, the number of seconds in one day. When times prior to the epoch need to be represented, it is common to use the same system, but with negative numbers.
These representations of time are mainly for internal use. If an end user interaction with dates and times is required, the software will nearly always convert this internal number into a date and time representation that is comprehensible to humans.
Notable epoch dates in computing
The following table lists epoch dates used by popular software and other computer-related systems. The time in these systems is stored as the quantity of a particular time unit (days, seconds, nanoseconds, etc.) that has elapsed since a stated time (usually midnight UTC at the beginning of the given date).
Epoch date | Notable uses | Rationale for selection |
---|---|---|
January 0, 1 BC[lower-alpha 2] | MATLAB[10] | |
October 15, 1582 | UUID version 1 | The date of the Gregorian reform to the Christian calendar.[11] |
January 1, 1601 | NTFS, COBOL, Win32/Win64 | 1601 was the first year of the 400-year Gregorian calendar cycle at the time Windows NT was made.[12] |
December 31, 1840 | MUMPS programming language | 1841 was a non-leap year several years before the birth year of the oldest living US citizen when the language was designed.[13] |
December 30, 1899 | Microsoft COM DATE, Object Pascal, LibreOffice Calc, Google Sheets[14] | Technical internal value used by Microsoft Excel; for compatibility with Lotus 1-2-3.[15] |
December 31, 1899 | Microsoft C/C++ 7.0[16] | A change in Microsoft’s last version of non-Visual C/C++ that was subsequently reverted. |
January 0, 1900 | Microsoft Excel,[15] Lotus 1-2-3[17] | While logically January 0, 1900 is equivalent to December 31, 1899, these systems do not allow users to specify the latter date. Since 1900 is incorrectly treated as a leap year in these systems, January 0, 1900 actually corresponds to the historical date of December 30, 1899. |
January 1, 1900 | Network Time Protocol, IBM CICS, Mathematica, RISC OS, VME, Common Lisp, Michigan Terminal System | |
January 1, 1904 | LabVIEW, Apple Inc.'s classic Mac OS, JMP Scripting Language, Palm OS, MP4, Microsoft Excel (optionally),[18] IGOR Pro | 1904 is the first leap year of the 20th century.[19] |
December 31, 1967 | Pick OS and variants (jBASE, Universe, Unidata, Revelation, Reality) | Chosen so that (date mod 7) would produce 0=Sunday, 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, and 6=Saturday.[20] |
January 1, 1960 | SAS System[21] | |
January 1, 1970 | Unix Epoch aka POSIX time, used by Unix and Unix-like systems (Linux, macOS), and programming languages: most C/C++ implementations,[22] Java, JavaScript, Perl, PHP, Python, Ruby, Tcl, ActionScript. Also used by Precision Time Protocol. | |
January 1, 1978 | AmigaOS.[23][lower-alpha 3] The Commodore Amiga hardware systems were introduced between 1985 and 1994. Latest OS version 4.1 (December 2016). AROS, MorphOS. | |
January 1, 1980 | IBM BIOS INT 1Ah, DOS, OS/2, FAT12, FAT16, FAT32, exFAT filesystems | The IBM PC with its BIOS as well as 86-DOS, MS-DOS and PC DOS with their FAT12 file system were developed and introduced between 1980 and 1981 |
January 6, 1980 | Qualcomm BREW, GPS, ATSC 32-bit time stamps | GPS counts weeks (a week is defined to start on Sunday) and January 6 is the first Sunday of 1980.[24][25] |
January 1, 2000 | AppleSingle, AppleDouble,[26] PostgreSQL,[27][lower-alpha 4] ZigBee UTCTime[28] | |
January 1, 2001 | Apple's Cocoa framework | 2001 is the year of the release of Mac OS X 10.0 (but NSDate for Apple's EOF 1.0 was developed in 1994). |
Problems with epoch-based computer time representation
Computers do not generally store arbitrarily large numbers. Instead, each number stored by a computer is allotted a fixed amount of space. Therefore, when the number of time units that have elapsed since a system's epoch exceeds the largest number that can fit in the space allotted to the time representation, the time representation overflows, and problems can occur. While a system's behavior after overflow occurs is not necessarily predictable, in most systems the number representing the time will reset to zero, and the computer system will think that the current time is the epoch time again.
Most famously, older systems which counted time as the number of years elapsed since the epoch of January 1, 1900 and which only allotted enough space to store the numbers 0 through 99, experienced the Year 2000 problem. These systems (if not corrected beforehand) would interpret the date January 1, 2000 as January 1, 1900, leading to unpredictable errors at the beginning of the year 2000.
Even systems which allocate more storage to the time representation are not immune from this kind of error. Many Unix-like operating systems which keep time as seconds elapsed from the epoch date of January 1, 1970, and allot timekeeping enough storage to store numbers as large as 2 147 483 647 will experience an overflow problem on January 19, 2038 if not fixed beforehand. This is known as the Year 2038 problem. A correction involving doubling the storage allocated to timekeeping on these systems will allow them to represent dates more than 290 billion years into the future.
Other more subtle timekeeping problems exist in computing, such as accounting for leap seconds, which are not observed with any predictability or regularity. Additionally, applications which need to represent historical dates and times (for example, representing a date prior to the switch from the Julian calendar to the Gregorian calendar) must use specialized timekeeping libraries.
Finally, some software must maintain compatibility with older software that does not keep time in strict accordance with traditional timekeeping systems. For example, Microsoft Excel observes the fictional date of February 29, 1900 in order to maintain compatibility with older versions of Lotus 1-2-3.[15] Lotus 1-2-3 observed the date due to an error; by the time the error was discovered, it was too late to fix it—"a change now would disrupt formulas which were written to accommodate this anomaly".[29]
Epoch in satellite-based time systems
There are at least six satellite navigation systems, all of which function by transmitting time signals. Of the only two satellite systems with global coverage, GPS calculates its time signal from an epoch, whereas GLONASS calculates time as an offset from UTC, with the UTC input adjusted for leap seconds. Of the only two other systems aiming for global coverage, Galileo calculates from an epoch and Beidou calculates from UTC without adjustment for leap seconds.[30] GPS also transmits the offset between UTC time and GPS time, and must update this offset every time there is a leap second, requiring GPS receiving devices to handle the update correctly. In contrast, leap seconds are transparent to GLONASS users. The complexities of calculating UTC from an epoch are explained by the European Space Agency in Galileo documentation under "Equations to correct system timescale to reference timescale"[31]
See also
- Annum, Anno Lucis, Anno Mundi
- Common Era (CE) (Anno Domini (AD))
- Dating creation
- Epoch, Epoch (geology)
- Holocene calendar, Lunisolar calendar
- Timekeeping on Mars
- Metonic cycle, Saros
Notes
- ↑ This article uses a 24-hour clock, so 11:59:27.816 is equivalent to 11:59:27.816 AM.
- ↑ Proleptic Gregorian calendar
- ↑ AmigaOS measures time in seconds and stores it in a signed 32 bit integer. After January 19, 2046, 03:14:07 the date will be negative. Latest OS version 4.1 (2016) has no fix for this.
- ↑ Be aware that the Epoch function return the unix Epoch SELECT EXTRACT(EPOCH FROM TIMESTAMP WITH TIME ZONE '1970-01-01 00:00:00-00'); returns 0
References
- ↑ Blackburn, B; Holford-Strevens, L (2003). "Incarnation era". The Oxford Companion to the Year: An exploration of calendar customs and time-reckoning. Oxford University Press. p. 881.
- ↑ Solomin, Rachel M.. "Counting the Jewish Years". http://www.myjewishlearning.com/article/counting-the-years/.
- ↑ Lee, Scott E. (2006). "Overview of Calendars". http://www.rosettacalendar.com/calendars.html.
- ↑ Dershowitz, Nachum; Reingold, Edward M. (2008). Calendrical Calculations (3rd ed.). Cambridge University Press. p. 289. ISBN 978-0-521-70238-6.
- ↑ Richards, E. G. (2013). "Calendars". Explanatory Supplement to the Astronomical Almanac (3rd ed.). Mill Valley, CA: University Science Books. pp. 616–617.
- ↑ Higham, Thomas. "Radiocarbon dating – Age calculation". Thomas Higham. http://www.c14dating.com/agecalc.html. Retrieved December 31, 2009.
- ↑ Stuiver, Minze; Polach HA (1977). "Discussion; reporting of C-14 data.". Radiocarbon (University of Arizona) 19 (3): 355–363. https://journals.uair.arizona.edu/index.php/radiocarbon/article/view/493/498. Retrieved October 5, 2018.
- ↑ Seidelman, P. K., ed (1992). Explanatory Supplement to the Astronomical Almanac. Sausalito, CA: University Science Books. pp. 8.
- ↑ Seidelman, P. K., ed (1992). "Glossary: Terrestrial Dynamical Time". Explanatory Supplement to the Astronomical Almanac. Sausalito, CA: University Science Books.
- ↑ "datenum", MathWorks, accessed July 7, 2015.
- ↑ Leach, P.; Mealling, M.; Salz, R. (July 2005). "RFC 4122: Proposed Standard: A Universally Unique IDentifier (UUID) URN Namespace". Internet Engineering Task Force. https://tools.ietf.org/html/rfc4122.
- ↑ Chen, Raymond (March 6, 2009). "Why is the Win32 epoch January 1, 1601?". MSDN Blogs. http://blogs.msdn.com/oldnewthing/archive/2009/03/06/9461176.aspx.
- ↑ "What happened in 1841?". M Technology and MUMPS Language FAQ, Part 1/2. Archived from the original on August 28, 2015. https://web.archive.org/web/20150828234407/http://www.vmth.ucdavis.edu/m/m_faq1.htm. Retrieved August 14, 2015.
- ↑ "Introduction to the Google Sheets API". https://developers.google.com/sheets/guides/concepts#datetime_serial_numbers.
- ↑ 15.0 15.1 15.2 Spolsky, Joel. "Why are the Microsoft Office file formats so complicated? (And some workarounds)". http://www.joelonsoftware.com/items/2008/02/19.html. Retrieved March 8, 2009.
- ↑ "Time Management". https://msdn.microsoft.com/en-us/library/w4ddyt9h.aspx.
- ↑ "What is story behind December 30, 1899 as base date?". https://social.msdn.microsoft.com/Forums/office/en-US/f1eef5fe-ef5e-4ab6-9d92-0998d3fa6e14#360aa1df-ca93-45b9-b1fe-2e49f00f68e5.
- ↑ "Dates And Times In Excel". http://www.cpearson.com/excel/datetime.htm.
- ↑ "MacTech – The journal of Apple technology.". http://www.mactech.com/articles/develop/issue_26/minow.html.
- ↑ Mark Pick, International Spectrum Conference April 2010
- ↑ "Introduction to Dates and Times in SAS". https://support.sas.com/content/dam/SAS/support/en/books/the-essential-guide-to-sas-dates-and-times/the-essential-guide-to-sas-dates-and-times-first-edition/59411_excerpt.pdf.
- ↑ "time_t – C++ Reference". http://www.cplusplus.com/reference/ctime/time_t/. Retrieved April 6, 2015.
- ↑ Barthel, Olaf (September 1998). "File: the year 2000 problem and the Amiga". http://obligement.free.fr/articles_traduction/amiga_bogue_an2000_en.php.
- ↑ Levine, Judah (5 July 2002). "Time and frequency distribution using satellites". Reports on Progress in Physics 65 (8). http://tf.nist.gov/general/pdf/1602.pdf.
- ↑ "Time Systems and Dates – GPS Time". Naval Postgraduate School, Oceanography Department. http://www.oc.nps.edu/oc2902w/gps/timsys.html.
- ↑ "AppleSingle/AppleDouble Formats for Foreign Files Developer's Note". Archived from the original on July 17, 2011. https://web.archive.org/web/20110717032808/http://users.phg-online.de/tk/netatalk/doc/Apple/v2/AppleSingle_AppleDouble.pdf. Retrieved October 23, 2007.
- ↑ "PostgreSQL 9.1.24 Documentation. Chapter 8: Data Types. 8.5. Date/Time Types". http://www.postgresql.org/docs/9.1/static/datatype-datetime.html. "Note: When timestamp values are stored as eight-byte integers (currently the default), microsecond precision is available over the full range of values. […] timestamp values are stored as seconds before or after midnight 2000-01-01."
- ↑ "ZigBee Cluster Library Specification". Section 2.5.2.21 UTCTime. https://www.scribd.com/document/58909727/075366r01ZB-AFG-ZigBee-Cluster-Library-Public-Download-Version.
- ↑ Dershowitz, Nachum; Reingold, Edward (2008). Calendrical Calculations (3rd ed.). Cambridge University Press. pp. xxi, xxvi. ISBN 978-0-521-70238-6.
- ↑ Subirana, J. Sanz; Zornoza, J.M. Juan; Hernández-Pajares, M. (2011). "Time References in GNSS". European Space Agency. http://www.navipedia.net/index.php/Time_References_in_GNSS.
- ↑ "GNSS Timescale Description Galileo". United Nations Office for Outer Space Affairs. 2016. Section 5d. http://www.unoosa.org/pdf/icg/2016/gst2016.pdf.
External links
- Critical and Significant Dates (J. R. Stockton), an extensive list of dates that are problematic for various operating systems and computing devices
- Potential problem dates for computers (pdf) A list of potential problem dates for computers and software from 2001 to 2100 (IET).