美文网首页
Lua os.time

Lua os.time

作者: Wenchao | 来源:发表于2019-09-29 10:05 被阅读0次

Lua 的 os.time 传入的int值范围

-- 传入的值在0 - 2 ^ 32 - 1 = 2147483647
print(os.date("%c",0)) -- ouput : 01/01/70 08:00:00
print(os.date("%c",2147483647)) -- output : 01/19/38 11:14:07

相关文章

网友评论

      本文标题:Lua os.time

      本文链接:https://www.haomeiwen.com/subject/zptfpctx.html