Hi All,
Is there any way in R to calculate the difference between two dates in
years, months & days.
> date1 = as.Date("1993-11-23")
> date2 = as.Date("2009-04-15")
I want my output to be: 15 years 4 months 27 days
Any hint would be helpful.
Regards
Utkarsh
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.