Jump to content



Photo

[PHP/SQL] Calculate Age


  • Please log in to reply
16 replies to this topic

#16 BGM

BGM

    Wibble Wobble™

  • Joined: 30-March 03
  • Location: Farnborough, UK

Posted 13 June 2011 - 18:45

Leap years will throw that off so it is inaccurate.

hmm.. correct :(


#17 +scumdogmillionaire

scumdogmillionaire

    Neowinian Senior

  • Tech Issues Solved: 1
  • Joined: 23-October 01
  • Location: Denver, CO
  • OS: Windows 8.1 Pro/Windows 8.1 RT
  • Phone: Nokia Lumia 920

Posted 13 June 2011 - 19:52

hmm.. correct :(


You could always determine how many leap years have passed between the date in question and the current date and then subtract that -- but that just seems... silly ;) (and actually even then it might be wrong...)