alex_bn_lee

导航

2021年3月31日 #

【540】时间戳数字转换为格式化时间

摘要: 参考:python - 获取时间戳(10位和13位) 参考:python 获取一小时前的时间戳 1. 时间戳转成具体的时间: 已知数字:1614690000 首先转换为当地时间 然后格式化显示即可 >>> time.strftime('%Y-%m-%d %H:%M:%S', time.localti 阅读全文

posted @ 2021-03-31 18:29 McDelfino 阅读(401) 评论(0) 推荐(0)