local p = {}

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

    return serverTime
end

return p