I have the following:
\"0014-06-30\"
And I\'d like to change it to:
\"0000-06-30\"
How would I do this in
> x <- as.Date('0014-06-30') > x [1] "0014-06-30" > library(lubridate) > year(x) [1] 14 > year(x) <- 0 > x [1] "0000-06-30"