Module:Year

From Omniversalis

Documentation for this module may be created at Module:Year/doc

local p = {}
function p.extract(frame)
    s = frame.args[1]
    year = "%d%d%d%d"
    return string.sub(s, string.find(s, year))
end
return p