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 hdiogenes
Recipients docs@python, hdiogenes
Date 2011-01-18.19:26:13
SpamBayes Score 8.95058e-08
Marked as misclassified No
Message-id <>
On some systems, datetime.strftime() accepts a %s format string that returns epoch / UNIX timestamp, but this behavior is not documented at

Python 2.7 (r27:82508, Jul  3 2010, 21:12:11) 
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
Date User Action Args
2011-01-18 19:26:19hdiogenessetrecipients: + hdiogenes, docs@python
2011-01-18 19:26:19hdiogenessetmessageid: <>
2011-01-18 19:26:13hdiogeneslinkissue10938 messages
2011-01-18 19:26:13hdiogenescreate