powered by
Converts a numeric timestamp (seconds since Unix epoch) into a POSIXct in UTC. Returns NA when input is NA.
POSIXct
NA
whapi_to_posix(x)
A POSIXct scalar or NA.
Numeric scalar (seconds since "1970-01-01 00:00:00 UTC").
whapi_to_posix(1756500000) whapi_to_posix(NA) # NA
Run the code above in your browser using DataLab