最佳答案
我想从时间戳中获取日期时间,如下所示: 3/1/2014 9:55
和 datetime.strptime
,或者等价的内容。
The month, day of month, and hour is not zero padded, but there doesn't seem to be a formatting directive listed 给你 that is able to parse this automatically.
这样做的最好方法是什么? 谢谢!