date time arithmatic

Dave Pawson dpawson at nearlynildram.co.uk
Sun Jan 5 07:01:59 EST 2003


Put simply I would like to determine the number of 
days between now() and some date in the past.

E.g. now() - someCall(2002,9,2,0,0) = 126 days

This seems possible in 2.3 alpha, but not in 2.2 (readily).

Looking for pointers please?

TIA DaveP




More information about the Python-list mailing list