Difference between revisions of "Module:CurrentDate"

From PKC
Jump to navigation Jump to search
 
Line 3: Line 3:


function p.getDate(frame)
function p.getDate(frame)
return "Feb 6, 2022"
month = frame.args[1]
day = frame.args[2]
year = frame.args[3]
return month .. " " .. day .. ", " .. year
end
end


return p
return p

Latest revision as of 11:08, 9 February 2022

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

local p = {}


function p.getDate(frame)
	month = frame.args[1]
	day = frame.args[2]
	year = frame.args[3]
	
	return month .. " " .. day .. ", " .. year
end

return p