(12C) Gregorian Date to Julian Day Number and vice versa
|
01-16-2019, 05:13 PM
Post: #9
|
|||
|
|||
RE: (12C) Gregorian Date to Julian Day Number and vice versa
From HP-12C owner's manual, valid date range = Oct 15, 1582 to Nov 25, 4046
It is trivial to extend the range, using the fact Gregorian calendar cycle of 400 years. Average days per year = (400*365 + 97 leap years)/400= 146097/400 = 365.2425 Example: CJDN(Dec 31, 9999) = CJDN(Dec 31, 1999) + 8000 years = (2451545-1) + 8000 * 365.2425 = 5373484 Since 146097 % 7 = 0, weekday(Dec 31, 9999) = weekday(Dec 31, 1999) = Friday |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Gregorian Date to Julian Day Number and vice versa - Dieter - 01-14-2019, 12:54 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Albert Chan - 01-14-2019, 03:50 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Dieter - 01-14-2019, 04:58 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Albert Chan - 01-14-2019, 05:30 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Dieter - 01-14-2019, 05:52 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Albert Chan - 01-14-2019, 06:27 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Thomas Klemm - 01-14-2019, 09:28 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Albert Chan - 01-15-2019, 12:43 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Albert Chan - 01-16-2019 05:13 PM
RE: (12C) Gregorian Date to Julian Day Number and vice versa - Dieter - 01-16-2019, 05:42 PM
|
User(s) browsing this thread: 3 Guest(s)