Skip Montanaro added the comment:
Tom> unless I'm missing something important this will do the trick quite
Tom> nicely:
>>>> from datetime import datetime
>>>> datetime(2007, 12, 24, 20, 0).strftime("%s")
Tom> '1198522800'
Tom> For most imaginable use cases, where an epoch style time stamp is
Tom> required this should be enough.
No fractions of a second...
Skip
_____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1673409>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com