Module:DidYouKnow

local p = {}

function p.getCurrentDay(arg) local now = os.date("!*t") local day = now["day"] local month = now["month"] local year = now["year"] if month < 3 then year = year-1 month = month+12 end local A = math.floor(year/100) local B = math.floor(A/4) local C = 2-A+B local E = math.floor(365.25*(year+4716)) local F = math.floor(30.6001*(month+1)) return C+day+E+F-1525 end

return p