import time
ts = str(int(time.time()))
print(ts)
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/224076.html原文链接:https://javaforall.net
Python 获取当前时间戳(字符串)importtimets str int time time print ts
import time
ts = str(int(time.time()))
print(ts)
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/224076.html原文链接:https://javaforall.net