Time of Day

Peter Hansen peter at engcorp.com
Sat Mar 20 17:51:49 EST 2004


Sam Snead wrote:

> Is there a formula/function I can use to convert the Unix time stamp to 
> a time of day?

What do you mean by "Unix time stamp"?  The number of seconds since the 
beginning of the epoch?  Or something else?  time.localtime() would be 
the most obvious answer, if I'm even nearly answering the right question.



More information about the Python-list mailing list