Python 时间戳怎么用

time.strftime

 

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

posted @ 2021-01-23 14:14  bH1pJ  阅读(21)  评论(0编辑  收藏  举报