会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
A Simple Note Book
Close your eyes, and follow your heart.
博客园
首页
新随笔
联系
管理
订阅
2016年12月19日
lua 时间戳和时间互转
摘要: 1、时间戳转换成时间 local t = 1412753621000 function getTimeStamp(t) return os.date("%Y%m%d%H",t/1000) end print(getTimeStamp(t)) 2、得时间戳 os.time() -- 当前时间戳 os.
阅读全文
posted @ 2016-12-19 14:40 流失的痕迹
阅读(43658)
评论(3)
推荐(0)
公告