Fundamentals of Astrodynamics and Applications

Category: Technology
Author: David A. Vallado, Wayne D. McClain
3.9
This Month Stack Overflow 1

Comments

by anonymous   2019-01-13

Astronomers and aerospace engineers have to deal with BC dates and a continuous time line, so that's the google context for your search.

Astropy's Time class will work for you (and even more precisely and completely than you hoped). pip install astropy and you're on your way.

If you roll your own, you should review some of the formulas in Vallado's chapter on dates. There are lots of obscure fudge factors required to convert dates from Julian to Gregorian etc.