I have a colum that is of factor datatype, however the timestamp is in this format:
%Y-%m-%dT%H:%M:%S
$ fg_stop_time : Factor w/ 8 levels "2022-05-16T20:38:19",..: 4 8
I cant seem to get the as.character to work it keeps coming up as NA
df$new_time <-strptime(x = as.character(df1$fg_stop_time), format = "%Y-%m-%d %H:%M:%S")
I think it has to do with the fact that there is the T character in-between. How do I get it to recognize the 'T'?