Quantcast
Processing math: 100%

Gregorian Calendar to Julian Day Number (JDN)

Last modified by
on
Jul 24, 2020, 6:28:07 PM
Created by
on
Oct 21, 2015, 1:32:24 AM
Day(Julian)=day+Floor[153m+25]+365y+Floor[y4]-Floor[y100]+Floor[y400]-32045,where a = Floor[14-int(mo)12] ; m = int(mo)+12a-3;y=yr+4800-a
Month
Day
Year
Tags
UUID
94b6d3b7-7793-11e5-a3bb-bc764e2038f2

This equation gives you the Julian Day when you input a Gregorian (standard modern calendar date).

"The algorithm is valid at least for all positive Julian Day Numbers. The meaning of the variables are explained by the Computer Science Department of the University of Texas at San Antonio.

It is worth noting that this algorithm does not follow the NASA or the US Naval Observatory - the convention in these systems being that the Gregorian calendar did not exist before the date October 15, 1582 (Gregorian). This algorithm effectively back-dates the Gregorian calendar onto the Julian calendar for dates before the introduction of the Gregorian calendar. Thus any calculations made with this formula before October 15, 1582, will not agree with these previous ephemerides."1 

Example

If you input January 1, 2000, this equation will return the Julian Day:  2451545.0

See Also

  1. ^ https://en.wikipedia.org/wiki/Julian_day#Calculation

This equation, Gregorian Calendar to Julian Day Number (JDN), references 3 pages
This equation, Gregorian Calendar to Julian Day Number (JDN), is used in 7 pages
  • Comments
  • Attachments
  • Stats
No comments
This site uses cookies to give you the best, most relevant experience. By continuing to browse the site you are agreeing to our use of cookies.