摘要: 时间戳/浮点型时间 英文 strftime → struct format time → 结构格式的时间 阅读全文
posted @ 2021-07-01 17:31 社会你玲姐 阅读(11) 评论(0) 推荐(0)
摘要: 查看一下时间戳2000000000表示的年月日 代码如下: import timestruct_t=time.localtime(2000000000)print(struct_t)print(time.strftime('%Y-%m-%d',struct_t)) 运行结果: time.struct 阅读全文
posted @ 2021-07-01 16:19 社会你玲姐 阅读(34) 评论(0) 推荐(0)