as.POXIXct for number of seconds since the start of 1970.
as.POXIXct for number of seconds since the start of 1970.
as.POSIXct.numeric requires origin to be specified. This assumes that it is the start of 1970.
as.POSIXct1970(x, tz="GMT",...)
Arguments
x: a numeric vector of times in seconds since the start of 1970. (If x is not numeric, call as.POSIXct.)
tz: A timezone specification to be used for the conversion, if one is required. System-specific (see time zones), but "" is the current timezone, and "GMT" is UTC (Universal Time, Coordinated).