• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Search results

  1. smi

    Bug with os.date()

    os.date() returns local time according to your system locale. You are probably in timezone UTC+1 for hour to start with 1. In function os.date() you can specify to use UTC by using prefix ! before your %X like this !%X. Try this: starttime = os.time() while true do print(os.date('!%X'...
Top