It's in the standard Lua library: Code: Select all. Now = os.date('*t') --get the date/time print(Now.hour) print(Now.min) print(Now.sec).
確定! 回上一頁