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 tomster
Recipients guettli, jribbens, skip.montanaro, tim.peters, tomster
Date 2007-11-02.15:02:15
SpamBayes Score 0.22138464
Marked as misclassified No
Message-id <1194015736.17.0.312325739544.issue1673409@psf.upfronthosting.co.za>
In-reply-to
Content
unless I'm missing something important this will do the trick quite 
nicely:

    >>> from datetime import datetime
    >>> datetime(2007, 12, 24, 20, 0).strftime("%s")
    '1198522800'

For most imaginable use cases, where an epoch style time stamp is 
required this should be enough.

HTH,

Tom
History
Date User Action Args
2007-11-02 15:02:16tomstersetspambayes_score: 0.221385 -> 0.22138464
recipients: + tomster, tim.peters, skip.montanaro, jribbens, guettli
2007-11-02 15:02:16tomstersetspambayes_score: 0.221385 -> 0.221385
messageid: <1194015736.17.0.312325739544.issue1673409@psf.upfronthosting.co.za>
2007-11-02 15:02:15tomsterlinkissue1673409 messages
2007-11-02 15:02:15tomstercreate