Module:Date Stuff: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 52: Line 52:
   currentDate = frame.args[2]
   currentDate = frame.args[2]
   status = frame.args[3]
   status = frame.args[3]
 
 
  if birthDate == nil then
 
  return 1
  else
  return frame.args[1]
  end
  return 2
--[[
   --Converts the given dates to long dates
   --Converts the given dates to long dates
   convertedBirthDate = convertDate(birthDate)
   convertedBirthDate = convertDate(birthDate)
Line 104: Line 98:
   end
   end
   return dateAge
   return dateAge
]]--
 
end
end


return p
return p

Navigation menu