会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
致橡树的你
屋顶的懒猫,门口的旺财,泡好的香茗,风吹的秋千,温暖如日光的你
博客园
首页
新随笔
联系
订阅
管理
2018年1月16日
获取秒级时间戳和毫秒级时间戳---基于python
摘要: 获取秒级时间戳和毫秒级时间戳 import timeimport datetime t = time.time() print (t) #原始时间数据print (int(t)) #秒级时间戳print (int(round(t * 1000))) #毫秒级时间戳 nowTime = lambda:
阅读全文
posted @ 2018-01-16 14:05 致橡树的你
阅读(3555)
评论(0)
推荐(0)
公告