RStudio Version 1.0.136 Windows Ver: Windows10 Pro X64
I input a time with quotes, and want to try the strptime
function. I have tried a lot of formats, but always get NA
returned, why is that?
t3 <- "October 17, 1986 08:24"
strptime(t3, "%M %d, %Y %H:%M")
strptime(t3, "%B %d, %Y %H:%M")
strptime(t3, "%B %d %Y %H:%M")
strptime(t3, "%M %d %Y %H:%M")
strptime(t3, "%M-%d-%Y %H:%M")
strptime(t3, "%B-%d-%Y %H:%M")