首页 > 技术文章 > python 输出格式化之后的时间格式

gunduzi 2019-03-27 10:41 原文

import time
time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())

推荐阅读