Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 在 Python 中将日期字符串转换为日期时间对象
我有一个日期字符串:
Mon Oct 15 15:05:00 UTC 2012
如何将此字符串转换为时间戳?
这应该有助于:
http://docs.python.org/library/time.html#time.strptime