Python time strptime() 函数根据指定的格式把一个时间字符串解析为时间元组
import time
dt=time.strptime('
2019-08-08 11:32:23', '%Y-%m-%d %H:%M:%S')
print(dt)
from datetime import datetime
dtn = datetime(2019,8,8,16,31,59,0)
print(dtn)
dtd = datetime(2019,8,8)
print(dtd)