Time-date as an integer
Josef Meile
jmeile at hotmail.com
Tue Aug 24 12:17:06 EDT 2004
Charles Hixson wrote:
> [...]
> This is the best that I've been able to come up with in getting a
> date-time as an integer. It feels like one of the time or date
> libraries should have a better solution, but if so, I haven't found it.
> Can anyone suggest a better approach?
What's about epoch seconds? Here is a page where this approach is explained:
http://pleac.sourceforge.net/pleac_python/datesandtimes.html
Regards,
Josef
More information about the Python-list
mailing list