[Tutor] time calc

Alan Gauld alan.gauld at blueyonder.co.uk
Wed Jun 23 18:46:55 EDT 2004

> So the task is really two part : reading in a list of numbers and
> adding one more piece of data and (2) doing time (base 60) math. It
> the time math part i simply can't get my head around. Anyone know if
> there is a module that does time math? or a method for doing this by
> hand?

Look at the datetime module - new in 2.3.

Alternatively you can convert time to seconds using the older time
do the math in seconds and convert back to readable format again...

Alan g

More information about the Tutor mailing list