character string is not in a standard unambiguous format

It might be that you have a character or factor, and it’s expecting a numeric vector for conversion from unix time :

as.POSIXct(as.numeric(as.character(df3$deadline)),origin="1970-01-01")

Leave a Comment