摘要: 对于时间的处理 获取当前时间的datetime格式 datetime.datetime.now() 1. 将datetime格式转换为指定格式的str输出 datetime.strftime(start_time,"%Y-%m-%d %H:%M:%S") # 这里的 start_time 是 数据库 阅读全文
posted @ 2020-10-13 17:48 Bitten 阅读(616) 评论(0) 推荐(0) 编辑