days since epoch

Alex Martelli aleaxit at yahoo.com
Fri Feb 17 00:54:44 EST 2006


<eight02645999 at yahoo.com> wrote:

> hi
> how can i get the number of days since epoch using the time module?
> or do i have to manually do the arithmetic?

Try the datetime module -- better suited to computing days, than the
time module, IMHO.


Alex



More information about the Python-list mailing list