python 时间元组转可视化时间(自定义)

 

>>> time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
'2019-01-04 11:20:25'

 

posted @ 2019-01-04 11:23  anobscureretreat  阅读(246)  评论(0编辑  收藏  举报