如果是中文版的话,应该为:
p <- "一月 1, 2017 22:36"
strptime(p, "%B %d, %Y %H:%M")
p <- "一月 1, 2017 22:36"
strptime(p, "%B %d, %Y %H:%M")
2017-09-08
x1<-"Jan 1,2015 01:01"
> strptime(x1,"%B %d,%Y %H:%M")
[1] NA
> strptime(x1,"%B %d,%Y %H:%M")
[1] NA
2017-08-25