Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25976

Re: How to represent dates BC

From Christian Heimes <lists@cheimes.de>
Subject Re: How to represent dates BC
Date 2012-07-24 12:29 +0200
References <500E7111.9080803@shopzeus.com>
Newsgroups comp.lang.python
Message-ID <mailman.2527.1343125785.4697.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How to represent dates BC Christian Heimes <lists@cheimes.de> - 2012-07-24 12:29 +0200

csiph-web