📜  strptime python 代码示例

📅  最后修改于: 2022-03-11 14:46:27.775000             🧑  作者: Mango

代码示例3
import datetime
d = datetime.datetime.strptime("01/27/2012", "%m/%d/%Y")
print(d)
output ....
2012-01-27 00:00:00