I am trying to create a age calculator using selection lists. I need to have these question answered:

User's age in years, months, and days;
How long a person has been living in months, days, hours;
Days till user's birthday
I am not sure how to calculate it through date functions. How do I get this to work?