Newbie: Subtracting Dates
Bernard Delmée
bdelmee at advalvas._ZAPME_.be
Thu Dec 5 15:15:41 EST 2002
> Basically, I would like to create a program that subtracts Date #1 from
Date
> #2. The output would give the total number of "years", "months", and
"days"
> in between dates. Like the following example:
The std lib has the 'time' module, but it is a tad limited.
For something more comprehensive, including date aritmetic,
see http://www.lemburg.com/files/python/mxDateTime.html
B.
More information about the Python-list
mailing list