会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不该相遇在秋天
博客园
首页
新随笔
管理
2020年8月20日
Python日期时间(详细)
摘要: 获取当前时间戳 import time t = time.time() millis1 = int(t) print('10位时间戳:{}'.format(millis1)) millis2 = int(t * 1000) print('13位时间戳:{}'.format(millis2)) 打印结
阅读全文
posted @ 2020-08-20 08:42 不该相遇在秋天
阅读(14942)
评论(0)
推荐(1)
公告