I am importing a data frame into R, but R is not recognizing the columns with the dates as being in dates format.
> mydata[1,1] [1] 1/1/2003 0:00 216332 Levels:
When dealing with dates, I find lubridate can be very helpful:
lubridate
library(lubridate) mydata[, 1] <- mdy_hm(mydata[, 1])