time difference interms of day

mukkera harsha harsha.mukkera at gmail.com
Sun Oct 24 13:55:25 EDT 2010


Hello
  I was wondering if there is an existing function that would let me
determine the difference in time. To explain:

Upon starting a program:

startup = time.time()

After some very long processing:
now = time.time()


On, doing now - startup I want the program to return in terms of days. How ?


Thanks,

Harsha.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20101024/af078e4f/attachment.html>


More information about the Python-list mailing list