A few days is neither here nor there as it's for dogs.
I changed your wee function (it is called a function right?) to this:
$birthDate = strtotime($rsPROFILE->getColumnVal("dogsdob"));
$ageInSeconds = time() - $birthDate;
$age = intval($ageInSeconds/(60*60*24*365));
...but the result is blank?
Is it possible to output the result as:
12 years 5 months
...obviously hiding years or months if either is 0.
Jeez...maybe more to this than I thought.
Thanks for the help.