I'm trying to format dates with R. Can someone explain why R gives an error when these two strings are the exact same format? I cannot figure out how to manage these date strings, and any help is greatly appreciated as I'm new working with R.
> as.Date("09/18/2016 1:00 PM EDT")
Error in charToDate(x) :
character string is not in a standard unambiguous format
> as.Date("09/08/2016 8:30 PM EDT")
[1] "0009-08-20"
bad <- as.Date("09/18/2016 1:00 PM EDT")
good <- as.Date("09/08/2016 8:30 PM EDT")