time模块
作者:互联网
import time print(time.strftime('%Y-%m-%d %H:%M:%S'))
import time print(time.strftime('%Y-%m-%d %a %H:%M:%S'))
import time t = time.time() print(time.localtime(3000000000)) print(time.gmtime(t))
标签:3000000000,gmtime,模块,time,print,import,strftime 来源: https://www.cnblogs.com/kaiyuan111/p/10544759.html