开发者

Return current 11-digit timestamp in Python

开发者 https://www.devze.com 2022-12-24 07:29 出处:网络
How 开发者_JAVA技巧can I return the current time of the local machine?Do you mean this: time.time()?

How 开发者_JAVA技巧can I return the current time of the local machine?


Do you mean this: time.time()?

From the docs:

Return the time as a floating point number expressed in seconds since the epoch, in UTC

>>> import time
>>> time.time()
1269884900.480978
>>> 
0

精彩评论

暂无评论...
验证码 换一张
取 消