Calendar math problems
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.
>>> from normalDate import ND
>>> today = ND()
>>> print today
>>> yesterday = today - 1
>>> print yesterday.formatUS()
Very nice for simple date manipulation.
Colorless green ideas sleep furiously.
More information about the Python-list