library(eeptools)
x <- as.Date(c(01/01/1998, 'BirthDate'))
age_calc(x[1],x[2]) # default is age in months
Want to have the age in years between an initial age in days/month/years to the date 01/01/1998. I have more than 52000 birthdates ?
Hey, it still not working : as.numeric(01/01/1998 - BirthDate)/365.25 Error in eval(expr, envir, enclos): object 'BirthDate' not found Traceback