How to represent dates BC

Christian Heimes lists at cheimes.de
Tue Jul 24 12:29:32 CEST 2012


Am 24.07.2012 11:55, schrieb Laszlo Nagy:
> What is the good representation here? Should I implement my own date
> type? (I wouldn't want to.)

JDN [1] is a commonly used format for wide ranges of dates. I've used it
in the past to refer to days BC. PyPI offers a Python module [2] that
looks well written and documented.

HTH,
Christian

[1] http://en.wikipedia.org/wiki/Julian_Day_Number
[2] http://pypi.python.org/pypi/jdcal/1.0





More information about the Python-list mailing list