Skip to content
Prev 327584 / 398502 Next

Extracting Current and Old Date

If I read this correctly:

mydates <- as.Date(c("2007-06-22", "2007-05-21", "2004-04-13",
"2004-03-11","2004-02-13"))
xx  <-  min(mydates)
yy  <-  max(mydates)
yy-xx

John Kane
Kingston ON Canada
____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!