时间字符串转时间戳
time.mktime(time.strptime("20200105 11:01:01,111", '%Y%m%d %H:%M:%S,%f'))
时间戳转为字符串
date = time.strftime("%Y-%m-%d %H:%M:%S")
时间字符串转时间戳
time.mktime(time.strptime("20200105 11:01:01,111", '%Y%m%d %H:%M:%S,%f'))
时间戳转为字符串
date = time.strftime("%Y-%m-%d %H:%M:%S")