Epoch (reference date)

For the subdivision of geologic time, see epoch (geology). For astronomical time calculations for orbiting objects, see epoch (astronomy).

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.

Calendars

Epoch Examples
by events
The assassination of the Roman Emperor Alexander Severus triggering the Crisis of the Third Century
The defenestration of Prague triggering the Thirty Years' War
Queen Victoria ascending to the throne giving the start of the Victorian era
by criteria
The spurt in exploration, mercantilism, and colonization in the Age of Discovery
Particular ratios of animal fossils in a rock strata various Geology epochs

Each calendar era starts from an arbitrary epoch, which is often chosen to commemorate an important historical or mythological event. Many current and historical calendar eras exist, each with its own epoch.

Asian national eras

Religious eras

Other

Astronomy

Main article: Epoch (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. Interestingly, 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:

  1. The Gregorian date January 1, 2000 at approximately 12:00 GMT (Greenwich Mean Time).
  2. The Julian date 2451545.0 TT (Terrestrial Time).[7]
  3. January 1, 2000, 11:59:27.816 TAI (International Atomic Time).[8]
  4. January 1, 2000, 11:58:55.816 UTC (Coordinated Universal Time).[9]

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

See also: System time

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[10] MATLAB[11]
January 1, AD 1[10] Microsoft .NET,[12][13] Go,[14] REXX,[15] Rata Die[16] Common Era, ISO 2014,[17] RFC 3339[18]
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.[19]
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.[20]
November 17, 1858 VMS, United States Naval Observatory, DVB SI 16-bit day stamps, other astronomy-related computations[21] November 17, 1858, 00:00:00 UT is the zero of the Modified Julian Day (MJD) equivalent to Julian day 2400000.5[22]
December 30, 1899 Microsoft COM DATE, Object Pascal, LibreOffice Calc Technical internal value used by Microsoft Excel; for compatibility with Lotus 1-2-3.[23]
December 31, 1899 Microsoft C/C++ 7.0[24]A change in Microsoft’s last version of non-Visual C/C++ that was subsequently reverted.
January 0, 1900 Microsoft Excel,[23] Lotus 1-2-3[25] While logically January 0, 1900 is equivalent to December 31, 1899, these systems do not allow users to specify the latter date.
January 1, 1900 Network Time Protocol, IBM CICS, Mathematica, RISC OS, VME, Common Lisp, Michigan Terminal System
January 1, 1904 LabVIEW, Apple Inc.'s Mac OS through version 9, Palm OS, MP4, Microsoft Excel (optionally),[26] IGOR Pro 1904 is the first leap year of the 20th century.[27]
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.[28]
January 1, 1970 Unix Epoch aka POSIX time, used by Unix and Unix-like systems (Linux, Mac OS X), and programming languages: most C/C++ implementations,[29] Java, JavaScript, Perl, PHP, Python, Ruby, Tcl, ActionScript. Also used by Precision Time Protocol.
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.[30][31]
January 1, 2000 AppleSingle, AppleDouble,[32] PostgreSQL,[33] ZigBee UTCTime[34]
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.[23] 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".[35]

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.[36] 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" [37]

See also

Notes

  1. Blackburn, B. & Holford-Strevens, L. (2003). The Oxford Companion to the Year: An exploration of calendar customs and time-reckoning. Oxford University Press. Glossary entry for "Incarnation era", p. 881.
  2. My Jewish Learning:Counting the Years
  3. Rosetta Calendar
  4. E. G. Richards, "Calendars," in eds. S. E. Urban and P. K. Seidelman Explanatory Supplement to the Astronomical Almanac (Mill Valley, CA: University Science Books, 2013) 6167
  5. Higham, Thomas. "Radiocarbon dating - Age calculation". Retrieved December 31, 2009.
  6. Stuiver, Minze; Polach HA (1977). "Discussion; reporting of C-14 data." (PDF). Radiocarbon (University of Arizona) 19 (3): 355–363. Retrieved December 31, 2009.
  7. Seidelmann, P. K., Ed. (1992). Explanatory Supplement to the Astronomical Almanac. Sausalito, CA: University Science Books. p. 8.
  8. Seidelmann, P. K., Ed. (1992). Explanatory Supplement to the Astronomical Almanac. Sausalito, CA: University Science Books. Glossary, s.v. Terrestrial Dynamical Time.
  9. This article uses a 24-hour clock, so 11:59:27.816 is equivalent to 11:59:27.816 AM.
  10. 1 2 Proleptic Gregorian calendar
  11. "datenum", MathWorks, accessed July 7, 2015.
  12. "GregorianCalendar Class". MSDN. Remarks. Retrieved April 26, 2015.
  13. "DateTimeOffset Structure" (.NET Framework 4.5), MSDN, 2015.
  14. "Package time". golang.org. Retrieved April 26, 2015.
  15. "DATE" in z/OS TSO/E REXX Reference (publication no. SA32-0972-00), IBM, February 2015.
  16. Dershowitz, Nachum; Reingold, Edward (2008). Calendrical Calculations (3rd ed.). Cambridge University Press. chapter 1.2. ISBN 978-0-521-70238-6. Retrieved April 26, 2015.
  17. M. F. Cowlishaw (1990). The Rexx Language: A Practical Approach to Programming (2nd ed.). Prentice Hall. p. 93, p. 177. ISBN 0-13-780651-5.
  18. "Go 1 Release Notes". golang.org. March 28, 2012. Major changes to the library. Retrieved April 26, 2015.
  19. Why is the Win32 epoch January 1, 1601? The Old New Thing, MSDN Blogs, March 6, 2009
  20. "What happened in 1841?". M Technology and MUMPS Language FAQ, Part 1/2. Retrieved August 14, 2015.
  21. Gernot M. R. Winkler. "Modified Julian Date". (current MJD). U.S. Naval Observatory. Retrieved January 29, 2015. External link in |work= (help)
  22. vms-base-time-origin.txt archived from the original
  23. 1 2 3 Spolsky, Joel. "Why are the Microsoft Office file formats so complicated? (And some workarounds)". Retrieved March 8, 2009.
  24. https://msdn.microsoft.com/en-us/library/w4ddyt9h.aspx
  25. https://social.msdn.microsoft.com/Forums/office/en-US/f1eef5fe-ef5e-4ab6-9d92-0998d3fa6e14#360aa1df-ca93-45b9-b1fe-2e49f00f68e5
  26. http://www.cpearson.com/excel/datetime.htm
  27. Timing on the Macintosh by Martin Minow
  28. Mark Pick, International Spectrum Conference April 2010
  29. "time_t - C++ Reference". Retrieved April 6, 2015.
  30. Time and frequency distribution using satellites
  31. Time Systems and Dates - GPS Time
  32. "AppleSingle/AppleDouble Formats for Foreign Files Developer's Note" (PDF). Retrieved October 23, 2007.
  33. PostgreSQL 9.1 – 8.5. Date/Time Types "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. " 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
  34. Section 2.5.2.21 UTCTime of: "ZigBee Cluster Library Specification" ZigBee Document 075123r02ZB, 075366r01ZB_AFG-ZigBee_Cluster_Library_Public_download_version.pdf
  35. Kay Wilkins, Customer Relations Representative , Lotus Development Corp. (1992) quoted in Dershowitz, N. & Reingold, E. M. (2008). Calendrical calculations (3rd ed.). Cambridge University Press. p. xxi, xxvi. ISBN 978-0-521-70238-6.
  36. European Space Agency: http://www.navipedia.net/index.php/Time_References_in_GNSS
  37. Section 5(d) "Equations to correct system timescale to reference timescale" of RDI: European GNSS (Galileo) Open Service Signal In Space Interface Control Document (OS SIS ICD), Issue 1.1, September 2010 http://www.integralgis.com/pdf/GALILEO.pdf

External links

This article is issued from Wikipedia - version of the Monday, April 25, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.