artful has asked for the wisdom of the Perl Monks concerning the following question:
I need to calculate someone's age based on their birthday.
The birthday is being pulled from MySQL so I have the
FROM_DAYS() function which will give me the number of days
they have been alive. I cannot just divide by 365 because
of leap years and all. Any advice on accurately calculating
someone's age?
Back to
Seekers of Perl Wisdom