[Tutor] Difference in minutes between two time stamps

Judith Flores juryef at yahoo.com
Tue Mar 3 02:45:36 CET 2009


Hello,

   I can't seem to figure out the syntax to calculate the difference in minutes between two time stamps. I already read the documentation about datetime and time modules, but I was unable to implement the code.

My code will be fed with two timestamps (as styrings):

start="09:35:23"
end="10:23:00"

    Could someone guide me on how to calculate the difference in minutes between both stamps?

Your help is very much appreciated.

Thank you,

Judith


      


More information about the Tutor mailing list