How to subtract years?

With lubridate

library(lubridate)
ymd("2010/03/17") - years(2)

Leave a Comment