Python 时间戳 时间元组 日期 相互转换
摘要:# date == > ts format = "%Y-%m-%d %H:%M:%S" new_format = "%Y %m %d %H-%M-%S" date = '2022-04-20 15:59:00' struct_time = time.strptime(date, format) ts
阅读全文
posted @ 2022-04-20 16:48
posted @ 2022-04-20 16:48