mktime, how to handle dates before 01-01-1970 ?

Christian Heimes lists at
Tue Oct 6 23:11:44 CEST 2009

Ben Finney wrote:
> If you're committed to changing the epoch anyway, I would recommend
> using <URL:>
> (epoch at 4004 BCE) since it is widely used to unify dates referring to
> human history.

I prefer JDN or MJD ( for dates long
before or after the unix epoch. The conversion from JDN as float to a
datetime object is trivial.


More information about the Python-list mailing list