# Date of solstices pre-0 AD

I’ve written a script based on Meeus’s Astronomical Algorithms to calculate the position of the sun, moon etc. up to about 4000 BC. Everything looks good, except when I go to 4000 BC the solstice are about a month after expected dates (they fall mid-July and mid-January. I checked through this forum and came across this: https://astronomy.stackexchange.com/a/13009 . I looked at the results and saw that we have very similar dates.

Does the precession mean the solstices and equinoxes can shift to this extent? Or have I forgotten a step?

Many thanks.

• Do the dates suddenly disagree by a month when you get past 4000 BC or is it a gradual slippage ? – astrosnapper May 15 '19 at 19:14
• BTW, there is no 0 AD. The year before 1 AD is 1 BC. – PM 2Ring May 16 '19 at 4:42
• @PM2Ring oh snap, now I'm even older than I thought. – uhoh May 16 '19 at 6:39
• It would be better if you explained more clearly what you mean by "Everything looks good, except when I go to 4000 BC". Show a plot, explain what "everything" is and how good "looks good" is. The first comment asks if it's gradual or abrupt, a plot of some kind would be really helpful. Thanks! – uhoh May 16 '19 at 6:43
• I tried making a graph to show the results, but the method described by Meeus for calculating the exact date of solstices only goes to 1000 BC. Is there a formula to calculate the exact date before this? The main question has been answered now, it was a case of Julian Calendar slippage which I have now corrected. – Robbarratt1 May 16 '19 at 8:05

Sounds like Julian Calendar slippage.

The Gregorian Calendar, the one we use now, was created to fix a problem with the Julian Calendar: The fact that the Solar Year wasn't exactly 365.25 days. As a result, compared to the calendar year, the date of the Vernal Equinox (and more importantly at the time, Easter) was slipping forward.

To remedy this, ten calendar days in 1582 (or up to thirteen calendar days in 1918, depending on how long a particular country waited to adopt the Gregorian Calendar) were omitted, and the Gregorian Calendar added a modification to the Julian calendar's rule of One leap year every 4 years: No leap year on century-years that aren't divisible by 400.

If your code automatically switches from Gregorian to Julian Calendar at the appropriate year, the adoption of the Julian Calendar probably winds up at about the expected days when the Julian calendar was adopted mid-first-century BCE.

But every 400 years further back, your calendar is slipping about three extra days.

And at 4000 BCE, that's thirty days.

• Michael from V-sauce might be a helpful resource in this case: youtu.be/IJhgZBn-LHg – uhoh May 16 '19 at 6:41