Dates/Times in R I have this date: "2016-10-29 15:00:00" and i want to convert it to numeric and backwards to the same date and time i had. I used this to convert it to numeric: as.numeric(as.POSIXct("2016-10-29 15:00:00")) How i can get back my initial date and time?
"2016-10-29 15:00:00"
as.numeric(as.POSIXct("2016-10-29 15:00:00"))
1477771200
I obtain that answer, but i need it back to "2016-10-29 15:00:00". What should i do?