R/EpochMilli2Date.R
EpochMilli2Date.Rd
Convert an epoch in milliseconds into a date
EpochMilli2Date(x, timezone = "GMT")
A character or a numeric representing an epoch in milliseconds
A character with the time zone used for the conversion
A POSIXct, the date corresponding to the epoch
epoch <- Date2EpochMilli(as.numeric(Sys.time())) EpochMilli2Date(epoch) #> [1] "2022-01-21 10:53:59 GMT"