Module:Date Stuff: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 24: Line 24:
   --Checks to see if the month is a valid number
   --Checks to see if the month is a valid number
   if month == nil then
   if month == nil then
     error("Invalid month")
     return
   end
   end
    
    
Line 52: Line 52:
   currentDate = frame.args[2]
   currentDate = frame.args[2]
   status = frame.args[3]
   status = frame.args[3]
 
 
  return birthDate
--[[
   --Converts the first given date to a long date
   --Converts the first given date to a long date
   convertedBirthDate = convertDate(birthDate)
   convertedBirthDate = convertDate(birthDate)
Line 99: Line 97:
   end
   end
   return dateAge
   return dateAge
]]--
 
end
end


return p
return p