Skip to content

Instantly share code, notes, and snippets.

@phcostabh
Forked from ichramm/gmtime.lua
Created February 1, 2016 17:51
Lua function that returns the current time in UTC.
--[[!
-- @return The current time in UTC
--]]
function gmtime()
return os.time(os.date("!*t"));
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment