Module:Date Stuff: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 66: Line 66:


--Calculates an age based on two given dates
--Calculates an age based on two given dates
function p.solandriaBirthDateAge(birthDate, currentDate)
function p.solandriaBirthDateAge(frame)
  --Sets the date variables based on passed through arguments
  birthDate = frame.args[1]
  currentDate = frame.args[2]
 
   --Converts the first given date to a long date
   --Converts the first given date to a long date
   convertedDate = solandria(birthDate)
   convertedDate = solandria(birthDate)

Navigation menu