This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients guettli, jribbens, skip.montanaro, tim.peters, tomster
Date 2007-11-02.15:42:34
SpamBayes Score 0.28511587
Marked as misclassified No
Message-id <18219.17732.240439.613048@montanaro.dyndns.org>
In-reply-to <1194015736.17.0.312325739544.issue1673409@psf.upfronthosting.co.za>
Content
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
History
Date User Action Args
2007-11-02 15:42:34skip.montanarosetspambayes_score: 0.285116 -> 0.28511587
recipients: + skip.montanaro, tim.peters, jribbens, guettli, tomster
2007-11-02 15:42:34skip.montanarolinkissue1673409 messages
2007-11-02 15:42:34skip.montanarocreate