On Nov 24, 2007, at 12:27 AM, Lawrence Shafer wrote:
How would I compare these two dates and extract the difference in
H:M:S??
http://docs.python.org/lib/module-datetime.html
http://docs.python.org/lib/datetime-timedelta.html
22 Nov 2007 18:54:07
23 Nov 2007 23:24:23
>>> import datetime
>>
On 24-Nov-07, at 10:57 AM, Lawrence Shafer wrote:
> How would I compare these two dates and extract the difference in
> H:M:S??
>
> 22 Nov 2007 18:54:07
> 23 Nov 2007 23:24:23
You can try, 'datetime' module.
'http://pleac.sourceforge.net/pleac_python/datesandtimes.html' may be
useful.
regar
Lawrence Shafer wrote:
> How would I compare these two dates and extract the difference in H:M:S??
>
> 22 Nov 2007 18:54:07
> 23 Nov 2007 23:24:23
Look at the datetime module's timedelta operations.
___
Tutor maillist - Tutor@python.org
http://mail.p
How would I compare these two dates and extract the difference in H:M:S??
22 Nov 2007 18:54:07
23 Nov 2007 23:24:23
Cheers,
Lawrence
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor