powered by
year(x)
x <- ymd("2012-03-26") year(x) year(x) <- 2001 year(x) > 1995
Run the code above in your browser using DataLab