I have vector of dates that looks like this (in reality the vector is much longer):
dta= data.frame(c("Mar 22, 2013", "Feb 4, 2013","Oct 3, 2016", "Apr 8, 2014",
"Sep 6, 2013", "Jul 16, 2014"))
colnames(dta)<-c("time")
dta$time<-as.Date(dta$time, '%B %d, %Y')
Now, as I apply as.Date NA is returned for date number 2 and 4. Could someone help me to figure out what I missed? Thanks in advance!