I am trying to parse the following datetime with the following format:
library(lubridate) a <- \"2004-05-07 18:24:58.666424\"
I tried th
Try
options(digits.secs=6) as.POSIXct(a,"%Y-%m-%d %H:%M:%S.%OS") #[1] "2004-05-07 18:24:58.666424"