I am using R. This worked for me a month ago, but now when I try to run it I get NA. I have tried changing the timezone and I still receive NA. I am not sure why I am getting this issue
as.POSIXct("12:46 29-Nov-18",format = "%H:%M %m/%d/%y")
as.POSIXct("12:46 29-Nov-18",format = "%H:%M %m/%d/%y",tz= "GMT")
Several things wrong with your code, most of it fixed by reading
?strptime:"%m"is the 2 digit (0-padded) integer for the month, notNov, use%binstead%m/%d/%yshould be%m-%d-%y%d-%m-%ywould have been the correct order.Combine those three, and we have