PawsInMotion:
The code I used is modular in the sense that you can substitute values in it to come up with whatever type of date measurement you need.
For instance, instead of using the following for years:
{floor((time() - mktime(0,0,0,substr(DateofBirth,5,2),substr(DateofBirth,8,2),substr(DateofBirth,0,4)))/(365.25*24*60*60))}
you can change it to:
{floor((time() - mktime(0,0,0,substr(DateofBirth,5,2),substr(DateofBirth,8,2),substr(DateofBirth,0,4)))/(24*60*60))}
for the number of days. From there, you could use Equation-type questions to come up with months and days, etc.
I tested this on a couple of cases and they seemed okay. Please let me know if your experience is different.
tfj