Converting Time question
sybrenUSE at YOURthirdtower.com.imagination
Tue Mar 28 14:02:40 CEST 2006
Math enlightened us with:
> I measure a time at racing events.this tracktime is measures in the format
> where DDD = thousands of a second...like 17:14:11.769
> This format is being saved as a number of micro seconds since 1970..
> like 1,090516451769E+15
> How do I convert from the micros seconds back to time format above?
Use the datetime.datetime.fromtimestamp() function, after dividing the
number of milliseconds by 1000 to create seconds.
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
More information about the Python-list