I suspect that I have a datetime vector like:
timestamp = c(4273639583, 4273639583, 4273639583, 4273639583, 4273639583)
how can I convert it to datetime if I do not know for sure that it is a datetime vector or just date. Also I do not know its origin.
timestamp <- as.POSIXct(timestamp, format="%m/%d/%Y %H:%M", tz=Sys.timezone())