python fromtimestamp 时间戳转换成字符串日期时间
import datetimeend_time = 1525104000000d = datetime.datetime.fromtimestamp(end_time / 1000, None) # 时间戳转换成字符串日期时间str1 = d.strftime("%Y-%m-%d %H:%M:%S.%f")print(d) # 2018-05-01 00:00:00print(st...
原创
2018-09-23 16:30:01 ·
32279 阅读 ·
2 评论