0

I made this code, and checked it and checked it, and I can't imagine why it gives me an error.

Code:

as.POSIXct(x = "2010-03-14 02:00:00", format ="%Y-%m-%d %H:%M:%S")

Error:

> as.POSIXct("2010-03-14 02:00:00", format = "%Y-%m-%d %H:%M:%S")
[1] NA

I tried the help for the package. I double-checked all the format flags. I tried changing the date and the error went away.

Did a developer die or something on 3/14/2010?

EngrStudent
  • 1,924
  • 31
  • 46

0 Answers0