I have character values that are stored like this
Date <- x("05/05/15", "06/06/15")
df <- data.frame(Date)
Now I would like to convert these dates into a format: YYYY-MM-DD but doing this:
df$Date <- format(as.Date("%d/%m/%Y", df$Date))
Does not work. Any thoughts on how I can convert it?