Math enlightened us with: > I measure a time at racing events.this tracktime is measures in the format > hh:mm:ssDDD > 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. Sybren -- 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? Frank Zappa -- http://mail.python.org/mailman/listinfo/python-list