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 传入的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
网友评论