How to convert a timedelta object to a string?

tobiah st at tobiah.org
Thu Sep 14 17:55:20 EDT 2006


> Well, kinda, although I can work with this, str(tdobject) returns a 
> string that looks like:
> 
> -1 day, 7:34:32

Oh yeah.  I had tried it on a positive timedelta, which does give HH:MM:SS

-- 
Posted via a free Usenet account from http://www.teranews.com




More information about the Python-list mailing list