Module:Sandbox/JPxG

Source: Wikipedia, the free encyclopedia.

local p = {}

p.main = function(frame)
    -- os.date provides formatted date/time strings
    -- '%y-%m-%d %H:%M:%S' formats the date as 'YY-MM-DD HH:MM:SS'
    local serverTime = os.date('!%y-%m-%d %H:%M:%S')

    return serverTime
end

return p