NavList:
A Community Devoted to the Preservation and Practice of Celestial Navigation and Other Methods of Traditional Wayfinding
Re: Julian Day Number algorithms
From: Paul Hirose
Date: 2024 Mar 28, 13:37 -0700
From: Paul Hirose
Date: 2024 Mar 28, 13:37 -0700
To convert JDN to day of week, add 1 then divide by 7. The remainder is day of week, where 0 = Sunday. For instance, 2024 March 19 is JDN 2 460 389. Adding 1 and dividing by 7 yields 2: Tuesday. If you prefer the 0th day of the week on Monday, do not add 1 before division by 7. The change to the Gregorian calendar did not affect the 7-day week cycle, so the conversion from JDN to day of week is valid for the Julian calendar too. -- Paul Hirose sofajpl.com