need to print seconds from the epoch including the millisecond

Dave Angel davea at davea.name
Fri Dec 27 11:20:41 EST 2013


On Fri, 27 Dec 2013 07:40:29 -0800 (PST), matt.doolittle33 at gmail.com 
wrote:
> I am on Ubuntu 12.10.   I am still working with the 2 decimal 
places. Sometime ago i had this issue and I forget how i solved it. 
maybe i used datetime? thanks!

Now I'm stumped.  2.7.3 on Ubuntu 12.04 and time.time gives me 6 
decimals. Of course it's a float, so you could get more or fewer. But 
if you're only seeing 2, something else is different.

-- 
DaveA




More information about the Python-list mailing list