On Sep 11, 8:58 am, Tim Roberts <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >Thanks however I am still having a problem using the time module for > >arithmetic > > >My string times are of values such as 09:55:17 > > >and I have code such as: > > >>from time import * > >>startPoint = strptime(step.sTime, "%H:%S:%M") > >>finishPoint = strptime(step.fTime, "%H:%S:%M") > > Your conversion strings cannot be correct. Sure, there are international > differences in rendering dates and times, but not even in Eastern > WhereTheHeckIsStan do they encode hours, then seconds, then minutes. > -- > Tim Roberts, [EMAIL PROTECTED] > Providenza & Boekelheide, Inc.
Sorry I meant %H:%M:%S just wrote it wrong! Any advice on how to print out the duration though would be much appreciated. I think I have now got the time conversion problems sorted thanks to the help from google groups! -- http://mail.python.org/mailman/listinfo/python-list