niudange 发表于 2024-5-18 12:02:35

getconst调用时间戳疑问

lua获取unix时间戳os.timer()不应该是等于<$UTCNOW>吗,怎么等于<$UTCNOW8>呢?    local hh=gettcount64(actor)
    release_print(hh)
    local hh2=os.time()
    release_print(hh2)
    local hh3=getconst(actor,"<$UTCNOW8>")
    release_print(hh3)
    local hh4=getconst(actor,"<$UTCNOW>")
    release_print(hh4)



输出:
Print:8845609 Print:1716004929 Print:1716004929 Print:1716033729


页: [1]
查看完整版本: getconst调用时间戳疑问