Python 时间戳怎么用

time.strftime

 

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

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