This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
|
local time = os.time()
|
|
local timestamp = os.date('%F %T', time)
|
|
local timezone = os.date('%z', time):gsub('^([%+%-]%d%d)(%d%d)$', '%1:%2')
|
|
|
|
print(timestamp .. timezone)
|