[Tutor] Question on Time calculations.

SA sarmstrong@shearwatercorp.com
Tue Jan 14 18:03:37 2003


How would I go about calculating a time using python.

For instance.  I have to do alot of calculations that take a specific 
calender date and a specific time for that day.  Then, lets say five 
days later, I need to substract that date and time from the current 
date and time to produce an answer of how many total hours and minutes 
have elapsed:

date/time2 - date/time1 = total elapsed hours/minutes


Any ideas?

Thanks.
SA

"I can do everything on my Mac I used to do on my PC, plus alot more 
..."
--Me