摘要: 1、 import time time.strftime('%Y%m%d %H:%M:%S') 但是mysql数据库的跟python的有些不同 【时间戳转格式化时间】 from_unixtime(createtime, '%Y%m%d %H:%i:%s') 【格式化时间转时间戳】 方法① 如果我们已 阅读全文
posted @ 2019-12-06 15:22 yjy888 阅读(2650) 评论(0) 推荐(0) 编辑