Message57051
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 |
|
| Date |
User |
Action |
Args |
| 2007-11-02 15:42:34 | skip.montanaro | set | spambayes_score: 0.285116 -> 0.285116 recipients:
+ skip.montanaro, tim_one, jribbens, guettli, tomster |
| 2007-11-02 15:42:34 | skip.montanaro | link | issue1673409 messages |
| 2007-11-02 15:42:34 | skip.montanaro | create | |
|