Skip to content

Instantly share code, notes, and snippets.

@SnowflakeTQ
SnowflakeTQ / gmtime.lua
Created January 7, 2017 05:19 — forked from ichramm/gmtime.lua
Lua function that returns the current time in UTC.
--[[!
-- @return The current time in UTC
--]]
function gmtime()
return os.time(os.date("!*t"));
end