Calendar math problems
scott
smarsh at hotmail.com
Mon Jan 7 00:48:10 EST 2002
John Roth wrote:
> There's also a module on the Vaults that does more
> date/time manipulation than most people ever need.
> Don't remember the name, but it comes highly recommended.
It's called NormalDate.
http://starship.python.net/crew/jbauer/normalDate/
"Example Use
python
>>> from normalDate import ND
>>> today = ND()
>>> print today
19990821
>>> yesterday = today - 1
>>> print yesterday.formatUS()
08/20/99
>>>
"
Very nice for simple date manipulation.
--
Colorless green ideas sleep furiously.
Chomsky
More information about the Python-list
mailing list