library(lubridate) options(lubridate.verbose = TRUE) dmy("03-Dec-2011", "03-12-2010", "312-2010", "02022011") [1] "2011-12-