Julian day is the continuous count of days since the beginning of the Julian Period and is used primarily by astronomers.
The Julian Day Number (JDN) is the integer assigned to a whole solar day in the Julian day count starting from noon Universal time, with Julian day number 0 assigned to the day starting at noon on Monday, January 1, 4713 BC, proleptic Julian calendar (November 24, 4714 BC, in the proleptic Gregorian calendar), a date at which three multi-year cycles started (which are: Indiction, Solar, and Lunar cycles) and which preceded any dates in recorded history. For example, the Julian day number for the day starting at 12:00 UT on January 1, 2000, was 2 451 545.
The Julian date (JD) of any instant is the Julian day number plus the fraction of a day since the preceding noon in Universal Time. Julian dates are expressed as a Julian day number with a decimal fraction added. For example, the Julian Date for 00:30:00.0 UT January 1, 2013, is 2 456 293.520 833.
The Julian Period is a chronological interval of 7980 years; year 1 of the Julian Period was 4713 BC. It has been used by historians since its introduction in 1583 to convert between different calendars. The Julian calendar year 2018 is year 6731 of the current Julian Period. The next Julian Period begins in the year AD 3268.
- 1 Terminology
- 2 Variants
- 3 History
- 4 Julian day number calculation
- 4.1 Converting Gregorian calendar date to Julian Day Number
- 4.2 Converting Julian calendar date to Julian Day Number
- 4.3 Finding Julian date given Julian day number and time of day
- 4.4 Finding day of week given Julian day number
- 4.5 Julian or Gregorian calendar from Julian day number
- 4.6 Julian Period from indiction, Metonic and solar cycles
- 5 Julian date calculation
- 6 See also
- 7 References
The term Julian date may also refer, outside of astronomy, to the day-of-year number (more properly, the ordinal date) in the Gregorian calendar, especially in computer programming, the military and the food industry, or it may refer to dates in the Julian calendar. For example, if a given "Julian date" is "October 5, 1582", this means that date in the Julian calendar (which was October 15, 1582, in the Gregorian calendar—the date it was first established). Without an astronomical or historical context, a "Julian date" given as "40" most likely means the fortieth day of a given Gregorian year, namely February 9. Other possible meanings of a "Julian date" of "40" include an astronomical Julian Day Number, or the year AD 40 in the Julian calendar, or a duration of 40 astronomical Julian years). This is why the terms "ordinal date" or "day-of-year" are preferred. In contexts where a "Julian date" means simply an ordinal date, calendars of a Gregorian year with formatting for ordinal dates are often called "Julian calendars", but this could also mean that the calendars are of years in the Julian calendar system.
Historical Julian dates were recorded relative to GMT or Ephemeris Time, but the International Astronomical Union now recommends that Julian dates be specified in Terrestrial Time, and that when necessary to specify Julian dates using a different time scale, that the time scale used be indicated when required, such as JD(UT1). The fraction of the day is found by converting the number of hours, minutes, and seconds after noon into the equivalent decimal fraction. Time intervals calculated from differences of Julian Dates specified in non-uniform time scales, such as Coordinated Universal Time (UTC), may need to be corrected for changes in time scales (e.g. leap seconds).
Because the starting point or reference epoch is so long ago, numbers in the Julian day can be quite large and cumbersome. A more recent starting point is sometimes used, for instance by dropping the leading digits, in order to fit into limited computer memory with an adequate amount of precision. In the following table, times are given in 24-hour notation.
In the table below, Epoch refers to the point in time used to set the origin (usually zero, but (1) where explicitly indicated) of the alternative convention being discussed in that row. The date given is a Gregorian calendar date if it is October 15, 1582, or later, but a Julian calendar date if it is earlier. JD stands for Julian Date. 0h is 00:00 midnight, 12h is 12:00 noon, UT unless otherwise specified. Current value is as of 20:17, Friday, May 25, 2018 (UTC) and may be cached. (update)
|Julian Date||12h Jan 1, 4713 BC||2458264.34514|
|Reduced JD||12h Nov 16, 1858||JD − 2400000||58264.34514|||
|Modified JD||0h Nov 17, 1858||JD − 2400000.5||58263.84514||Introduced by SAO in 1957|
|Truncated JD||0h May 24, 1968||floor (JD − 2440000.5)||18263||Introduced by NASA in 1979|
|Dublin JD||12h Dec 31, 1899||JD − 2415020||43244.34514||Introduced by the IAU in 1955|
|CNES JD||0h Jan 1, 1950||JD − 2433282.5||24981.84514||Introduced by the CNES|
|CCSDS JD||0h Jan 1, 1958||JD − 2436204.5||22059.84514||Introduced by the CCSDS|
|LOP JD||0h Jan 1, 1992||JD − 2448622.5||9641.84514||Introduced by the LOP|
|Lilian date||Oct 15, 1582||floor (JD − 2299159.5)||159104||Count of days of the Gregorian calendar|
|Rata Die||Jan 1, 1 proleptic Gregorian calendar||floor (JD − 1721424.5)||736839||Count of days of the Common Era|
|Mars Sol Date||12h Dec 29, 1873||(JD − 2405522)/1.02749||51331.18665||Count of Martian days|
|Unix Time||0h Jan 1, 1970||(JD − 2440587.5) × 86400||1527279431||Count of seconds|
- The Modified Julian Date (MJD) was introduced by the Smithsonian Astrophysical Observatory in 1957 to record the orbit of Sputnik via an IBM 704 (36-bit machine) and using only 18 bits until August 7, 2576. MJD is the epoch of VAX/VMS and its successor OpenVMS, using 63-bit date/time, which allows times to be stored up to July 31, 31086, 02:48:05.47. The MJD has a starting point of midnight on November 17, 1858 and is computed by MJD = JD - 2400000.5 
- The Truncated Julian Day (TJD) was introduced by NASA/Goddard in 1979 as part of a parallel grouped binary time code (PB-5) "designed specifically, although not exclusively, for spacecraft applications." TJD was a 4-digit day count from MJD 40000, which was May 24, 1968, represented as a 14-bit binary number. Since this code was limited to four digits, TJD recycled to zero on MJD 50000, or October 10, 1995, "which gives a long ambiguity period of 27.4 years". (NASA codes PB-1—PB-4 used a 3-digit day-of-year count.) Only whole days are represented. Time of day is expressed by a count of seconds of a day, plus optional milliseconds, microseconds and nanoseconds in separate fields. Later PB-5J was introduced which increased the TJD field to 16 bits, allowing values up to 65535, which will occur in the year 2147. There are five digits recorded after TJD 9999.
- The Dublin Julian Date (DJD) is the number of days that has elapsed since the epoch of the solar and lunar ephemerides used from 1900 through 1983, Newcomb's Tables of the Sun and Ernest W. Brown's Tables of the Motion of the Moon (1919). This epoch was noon UT on January 0, 1900, which is the same as noon UT on December 31, 1899. The DJD was defined by the International Astronomical Union at their meeting in Dublin, Ireland, in 1955.
- The Lilian day number is a count of days of the Gregorian calendar and not defined relative to the Julian Date. It is an integer applied to a whole day; day 1 was October 15, 1582, which was the day the Gregorian calendar went into effect. The original paper defining it makes no mention of the time zone, and no mention of time-of-day. It was named for Aloysius Lilius, the principal author of the Gregorian calendar.
- Rata Die is a system used in Rexx, Go, Python and Microsoft .NET. Some implementations or options use Universal Time, others use local time. Day 1 is January 1, 1, that is, the first day of the Christian or Common Era in the proleptic Gregorian calendar.
The Heliocentric Julian Day (HJD) is the same as the Julian day, but adjusted to the frame of reference of the Sun, and thus can differ from the Julian day by as much as 8.3 minutes (498 seconds), that being the time it takes the Sun's light to reach Earth.
To illustrate the ambiguity that could arise, consider the two separate astronomical measurements of an astronomical object from the earth: Assume that three objects—the Earth, the Sun, and the astronomical object targeted, that is whose distance is to be measured—happen to be in a straight line for both measures. However, for the first measurement, the Earth is between the Sun and the targeted object, and for the second, the Earth is on the opposite side of the Sun from that object. Then, the two measurements would differ by about 1000 light-seconds: For the first measurement, the Earth is roughly 500 light seconds closer to the target than the Sun, and roughly 500 light seconds further from the target astronomical object than the Sun for the second measure.
An error of about 1000 light-seconds is over 1% of a light-day, which can be a significant error when measuring temporal phenomena for short period astronomical objects over long time intervals. To clarify this issue, the ordinary Julian day is sometimes referred to as the Geocentric Julian Day (GJD) in order to distinguish it from HJD.
The Julian day number is based on the Julian Period proposed by Joseph Scaliger, a classical scholar, in 1583, at the time of the Gregorian calendar reform, as it is the least common multiple of three calendar cycles used with the Julian calendar:
Its epoch falls at the last time when all three cycles (if they are continued backward far enough) were in their first year together — Scaliger chose this because it preceded all historical dates. Years of the Julian Period are counted from this year, 4713 BC, which was chosen to be before any historical record.
Since it is now certain that every possible combination of the three cyclic numbers finds its place in the Julian Period, it is evident that the first year of the Christian era, which was the 10th year of a Solar Cycle, the 2nd of a Lunar Cycle, and the 4th of a Cycle of Indiction, finds its place within this artificial era, and must answer to that particular year of the period which is characterized by the same cyclic numbers. Hence, to refer the Christian era to the Julian Period is the same thing as to find out what year of that period it is which, when divided by 28 will leave a remainder 10, divided by 19 will leave a remainder 2, and divided by 15 will leave a remainder 4. The solution of this problem belongs to the higher mathematics, by which it is found that the year required is the 4714th of the period in question. Hence Jul. Per. 4714=A.D.1, and consequently Julian Period 4713=B.C.1.
In point of fact, finding the year is a very straightforward arithmetical procedure. See "Calculation" below.
Although many references say that the Julian in "Julian Period" refers to Scaliger's father, Julius Scaliger, in the introduction to Book V of his Opus de Emendatione Temporum ("Work on the Emendation of Time") he states, "Iulianam vocauimus: quia ad annum Iulianum dumtaxat accomodata est", which translates more or less as "We have called it Julian merely because it is accommodated to the Julian year." Thus Julian refers to Julius Caesar, who introduced the Julian calendar in 46 BC.
Originally the Julian Period was used only to count years, and the Julian calendar was used to express historical dates within years. In his book Outlines of Astronomy, first published in 1849, the astronomer John Herschel added the counting of days elapsed from the beginning of the Julian Period:
The period thus arising of 7980 Julian years, is called the Julian period, and it has been found so useful, that the most competent authorities have not hesitated to declare that, through its employment, light and order were first introduced into chronology. We owe its invention or revival to Joseph Scaliger, who is said to have received it from the Greeks of Constantinople. The first year of the current Julian period, or that of which the number in each of the three subordinate cycles is 1, was the year 4713 BC, and the noon of the 1st of January of that year, for the meridian of Alexandria, is the chronological epoch, to which all historical eras are most readily and intelligibly referred, by computing the number of integer days intervening between that epoch and the noon (for Alexandria) of the day, which is reckoned to be the first of the particular era in question. The meridian of Alexandria is chosen as that to which Ptolemy refers the commencement of the era of Nabonassar, the basis of all his calculations.
Astronomers adopted Herschel's "days of the Julian period" in the late nineteenth century, but used the meridian of Greenwich instead of Alexandria, after the former was adopted as the Prime Meridian after the International Meridian Conference in Washington in 1884. This has now become the standard system of Julian days numbers.
The French mathematician and astronomer Pierre-Simon Laplace first expressed the time of day as a decimal fraction added to calendar dates in his book, Traité de Mécanique Céleste, in 1799. Other astronomers added fractions of the day to the Julian day number to create Julian Dates, which are typically used by astronomers to date astronomical observations, thus eliminating the complications resulting from using standard calendar periods like eras, years, or months. They were first introduced into variable star work by Edward Charles Pickering, of the Harvard College Observatory, in 1890.
Julian days begin at noon because when Herschel recommended them, the astronomical day began at noon. The astronomical day had begun at noon ever since Ptolemy chose to begin the days in his astronomical periods at noon. He chose noon because the transit of the Sun across the observer's meridian occurs at the same apparent time every day of the year, unlike sunrise or sunset, which vary by several hours. Midnight was not even considered because it could not be accurately determined using water clocks. Nevertheless, he double-dated most nighttime observations with both Egyptian days beginning at sunrise and Babylonian days beginning at sunset. This would seem to imply that his choice of noon was not, as is sometimes stated, made in order to allow all observations from a given night to be recorded with the same date. When this practice ended in 1925, it was decided to keep Julian days continuous with previous practice.
Julian day number calculation
The Julian day number can be calculated using the following formulas (integer division is used exclusively, that is, the remainder of all divisions are dropped):
The months January to December are numbered 1 to 12. For the year, astronomical year numbering is used, thus 1 BC is 0, 2 BC is −1, and 4713 BC is −4712. JDN is the Julian Day Number. Use the previous day of the month if trying to find the JDN of an instant before midday UT.
Converting Gregorian calendar date to Julian Day Number
JDN = (1461 × (Y + 4800 + (M − 14)/12))/4 +(367 × (M − 2 − 12 × ((M − 14)/12)))/12 − (3 × ((Y + 4900 + (M - 14)/12)/100))/4 + D − 32075
Converting Julian calendar date to Julian Day Number
JDN = 367 × Y − (7 × (Y + 5001 + (M − 9)/7))/4 + (275 × M)/9 + D + 1729777
Finding Julian date given Julian day number and time of day
For the full Julian Date of a moment after 12:00 UT one can use the following (divisions are real numbers):
So, for example, January 1, 2000, at 18:00:00 UT corresponds to JD = 2451545.25
For a point in time in a given Julian day after midnight UT and before 12:00 UT, add 1 or use the JDN of the next afternoon.
Finding day of week given Julian day number
The US day of the week W1 (for an afternoon or evening UT) can be determined from the Julian Day Number J with the expression:
|Day of the week||Sun||Mon||Tue||Wed||Thu||Fri||Sat|
If the moment in time is after midnight UT (and before 12:00 UT), then one is already in the next day of the week.
The ISO day of the week W0 can be determined from the Julian Day Number J with the expression:
- W0 = mod (J, 7) + 1
|Day of the week||Mon||Tue||Wed||Thu||Fri||Sat||Sun|
Julian or Gregorian calendar from Julian day number
This is an algorithm by Richards to convert a Julian Day Number, J, to a date in the Gregorian calendar (proleptic, when applicable). Richards states the algorithm is valid for Julian day numbers greater than or equal to 0. All variables are integer values, and the notation "a div b" indicates integer division, and "mod(a,b)" denotes the modulus operator.
For Julian calendar:
- 1. f = J + j
For Gregorian calendar:
- 1. f = J + j + (((4 × J + B) div 146097) × 3) div 4 + C
For Julian or Gregorian, continue:
- 2. e = r × f + v
- 3. g = mod(e, p) div r
- 4. h = u × g + w
- 5. D = (mod(h, s)) div u + 1
- 6. M = mod(h div s + m, n) + 1
- 7. Y = (e div p) - y + (n + m - M) div n
D, M, and Y are the numbers of the day, month, and year respectively for the afternoon at the beginning of the given Julian day.
Julian Period from indiction, Metonic and solar cycles
Let Y be the year BC or AD and i, m and s respectively its positions in the indiction, Metonic and solar cycles. Divide 6916i + 4200m + 4845s by 7980 and call the remainder r.
- If r>4713, Y = (r − 4713) and is a year AD.
- If r<4714, Y = (4714 − r) and is a year BC.
i = 8, m = 2, s = 8. What is the year?
- (6916 × 8) = 55328; (4200 × 2) = 8400: (4845 × 8) = 38760. 55328 + 8400 + 38760 = 102488.
- 102488/7980 = 12 remainder 6728.
- Y = (6728 − 4713) = AD 2015.
Julian date calculation
As stated above, the Julian date (JD) of any instant is the Julian day number for the preceding noon in Universal Time plus the fraction of the day since that instant. Ordinarily calculating the fractional portion of the JD is straightforward; the number of seconds that have elapsed in the day divided by the number of seconds in a day, 86,400. But if the UTC timescale is being used, a day containing a positive leap second contains 86,401 seconds (or in the unlikely event of a negative leap second, 86,399 seconds). One authoritative source, the Standards of Fundamental Astronomy (SOFA), deals with this issue by treating days containing a leap second as having a different length (86,401 or 86,399 seconds, as required). SOFA refers to the result of such a calculation as "quasi-JD".
- Julian year (calendar)
- 5th millennium BC
- Barycentric Julian Date
- Dual dating
- Decimal time
- Epoch (astronomy)
- Epoch (reference date)
- J2000 – the epoch that starts on JD 2451545.0 (TT), the standard epoch used in astronomy since 1984
- Lunation Number (similar concept)
- Ordinal date
- Time standards
- Zeller's congruence
- Dershowitz & Reingold 2008, 15.
- Seidelman 2013, 15.
- "Astronomical Almanac Online" 2016, Glossary, s.v. Julian date. Various timescales may be used with Julian date, such as Terrestrial Time (TT) or Universal Time (UT); in precise work the timescale should be specified.
- Both of these dates are years of the Christian or Common Era (which has no year 0 between 1 BC and AD 1). Astronomical calculations generally include a year 0, so these dates should be adjusted accordingly (i.e. the year 4713 BC becomes astronomical year number −4712, etc.). In this article, dates before October 15, 1582 are in the (possibly proleptic) Julian calendar and dates on or after October 15, 1582 are in the Gregorian calendar, unless otherwise labelled.
- McCarthy & Guinot 2013, 91–2
- "Resolution B1" 1997.
- US Naval Observatory 2005
- Astronomical Almanac for the year 2017 p. B4, which states 2017 is year 6730 of the Julian Period.
- USDA c. 1963.
- Hopkins 2013, p. 257.
- Pallé, Esteban 2014.
- Theveny 2001.
- This is an epoch starting with day 1 instead of 0. Conventions vary as to whether this is based on UT or local time.
- Astronomical almanac for the year 2001, 2000, p. K2
- "Wayback Machine". June 6, 2007. Archived from the original on June 6, 2007.
- Winkler n. d.
- Chi 1979.
- SPD Toolkit Time Notes 2014.
- Ransom c. 1988
- Ohms 1986
- IBM 2004.
- "Basic date and time types." (March 27, 2017) The Python Standard Library.
- Dershowitz & Reingold 2008, 10, 351, 353, Appendix B.
- Richards 2013, pp. 591-592.
- Edwards, Smith & ben Uziel 1853, p. 82.
- Ideler 1825, p. 77.
- Herschel 1858, p. 678
- Laplace 1799, p.349
- Furness 1988, p. 206.
- L. E. Doggett, Ch. 12, "Calendars", p. 604, in Seidelmann 1992
- L. E. Doggett, Ch. 12, "Calendars", p. 606, in Seidelmann 1992
- Richards 2013, pp. 592, 618.
- Richards 2013, 617–9
- Richards 1998, 316
- Heath 1760, p. 160.
- "SOFA Time Scale and Calendar Tools" 2016, p. 20
- Astronomical almanac for the year 2001. (2000). U.S. Nautical Almanac Office and Her Majesty's Nautical Almanac Office. ISBN 9780117728431.
- Astronomical almanac for the year 2017. (2016). U.S. Naval Observatory and Her Majesty's Nautical Almanac Office. ISBN 978-0-7077-41666.
- Astronomical Almanac Online. (2016). U.S. Nautical Almanac Office and Her Majesty's Nautical Almanac Office.
- Chi, A. R. (December 1979). "A Grouped Binary Time Code for Telemetry and Space Application" (NASA Technical Memorandum 80606). Retrieved from NASA Technical Reports Server April 24, 2015.
- "CS 1063 Introduction to Programming: Explanation of Julian Day Number Calculation." (2011). Computer Science Department, University of Texas at San Antonio.
- Dershowitz, N. & Reingold, E. M. (2008). Calendrical Calculations 3rd ed. Cambridge University Press. ISBN 978-0-521-70238-6.
- Digital Equipment Corporation. Why is Wednesday, November 17, 1858, the base time for VAX/VMS? Modified Julian Day explanation
- Edwards, B B, Smith, John Pye and ben Uziel, Jonathan, The Popular Bible Educator, Vol. 1, Biblical Chronology. Explanation of Technicalities. John Cassell, London 1853.
- Furness, C. E. (1915). An introduction to the study of variable stars. Boston: Houghton-Mifflin. Vassar Semi-Centennial Series.
- HORIZONS System. (April 4, 2013). NASA.
- Heath, B. (1760). Astronomia accurata; or the royal astronomer and navigator. London: author. [Google Books version.
- Herschel, J. W. F. (1858). Outlines of Astronomy London: Longman, Brown, Green, Longmans, and Roberts. [Google Books version].
- Hopkins, Jeffrey L. (2013). Using Commercial Amateur Astronomical Spectrographs, p. 257, Springer Science & Business Media, ISBN 9783319014425
- Ideler, Handbuch der mathematischen und technischen Chronologie, vol. 1, Berlin 1825, available at  (in German).
- IBM 2004. "CEEDATE—convert Lilian date to character format". COBOL for AIX (2.0): Programming Guide.
- Information Bulletin No. 81. (January 1998). International Astronomical Union.
- Julian Date Converter (March 20, 2013). US Naval Observatory. Retrieved September 16, 2013.
- Kempler, Steve. (2011). Day of Year Calendar. Goddard Earth Sciences Data and Information Services Center.
- McCarthy, D. & Guinot, B. (2013). Time. In S. E. Urban & P. K. Seidelmann, eds. Explanatory Supplement to the Astronomical Almanac, 3rd ed. (pp. 76–104). Mill Valley, Calif.: University Science Books. ISBN 978-1-89138-985-6
- Meeus Jean. Astronomical Algorithms (1998), 2nd ed, ISBN 0-943396-61-1
- Moyer, Gordon. (April 1981). "The Origin of the Julian Day System," Sky and Telescope 61 311−313.
- Noerdlinger, P. (April 1995 revised May 1996). Metadata Issues in the EOSDIS Science Data Processing Tools for Time Transformations and Geolocation. NASA Goddard Space Flight Center.
- Ohms, B. G. (1986). Computer processing of dates outside the twentieth century. IBM Systems Journal 25, 244–251. doi:10.1147/sj.252.0244
- Pallé, Pere L., Esteban, Cesar. (2014). Asteroseismology, p. 185, Cambridge University Press, ISBN 9781107470620
- Ransom, D. H. Jr. (c. 1988) ASTROCLK Astronomical Clock and Celestial Tracking Program pages 69–143, "Dates and the Gregorian calendar" pages 106–111. Retrieved September 10, 2009.
- "Resolution B1". (1997). XXIIIrd General Assembly (Kyoto, Japan). International Astronomical Union, p. 7.
- Richards, E. G. (2013). Calendars. In S. E. Urban & P. K. Seidelmann, eds. Explanatory Supplement to the Astronomical Almanac, 3rd ed. (pp. 585–624). Mill Valley, Calif.: University Science Books. ISBN 978-1-89138-985-6
- Richards, E. G. (1998). Mapping Time: The Calendar and its History. Oxford University Press. ISBN 978-0192862051
- "SDP Toolkit Time Notes". (July 21, 2014). In SDP Toolkit / HDF-EOS. NASA.
- Seidelmann, P. Kenneth (ed.) (1992). Explanatory Supplement to the Astronomical Almanac pages 55 & 603–606. University Science Books, ISBN 0-935702-68-7.
- Seidelmann, P. Kenneth. (2013). "Introduction to Positional Astronomy" in Sean Urban and P. Kenneth Seidelmann (eds.) Explanatory supplement to the Astronomical Almanac' (3rd ed.) pp. 1–44. Mill Valley, CA: University Science Books. ISBN 978-1-891389-85-6
- "SOFA Time Scale and Calendar Tools". (June 14, 2016). International Astronomical Union.
- Strous, L. (2007) Astronomy Answers: Julian Day Number. Astronomical Institute / Utrecht University.
- Theveny, Pierre-Michel. (September 10, 2001). "Date Format" The TPtime Handbook. Media Lab.
- Tøndering, Claus. (2014). "The Julian Period" in Frequently Asked Questions about Calendars. author.
- USDA. (c. 1963). Julian date calendar].
- US Naval Observatory. (2005, last updated July 2, 2011). Multiyear Interactive Computer Almanac 1800–2050 (ver. 2.2.2). Richmond VA: Willmann-Bell, ISBN 0-943396-84-0.
- Winkler, M. R. (n. d.). "Modified Julian Date". US Naval Observatory. Retrieved April 24, 2015.