Suppose the following vector:
datas=c("26/12/2014", "27/12/2014", "28/12/2014", "29/12/2014", "30/12/2014", "31/12/2014")
When you apply the commands as.Date(datas, "%d/%m%y")
and strptimes(datas, "%d/%m%y")
the output is:
"2020-12-26" "2020-12-27" "2020-12-28" "2020-12-29" "2020-12-30" "2020-12-31"
Why is the Year (y) wrong? How do I adjust this?