x <- c("1-jan-60", "2-jan-89", "31-mar-89", "30-jul-93")
z <- as.Date(x, "%d-%b-%y")
z
"2060-01-01" "1989-01-02" "1989-03-31" "1993-07-30"
I converted character date into date format it is giving as wrong output.
the output should be
"1960-01-01" "1989-01-02" "1989-03-31" "1993-07-30"