powered by
Tool to calculate ages from date of birth and date of test, etc
agecalc( from, to, daysyear = NULL )
date from
date to
if NULL, calculates real age. If informed, then calculates year based on the number of days per year (e.g. 362.25)
NULL
returns age in years
# NOT RUN { agecalc( "1977-01-31", "2014-01-30" ) # }
Run the code above in your browser using DataLab