EpochMilli2Date {Rthingsboard} | R Documentation |
Convert an epoch in milliseconds into a date
Description
Convert an epoch in milliseconds into a date
Usage
EpochMilli2Date(x, timezone = "GMT")
Arguments
x |
A character or a numeric representing an epoch in milliseconds |
timezone |
A character with the time zone used for the conversion |
Value
A POSIXct, the date corresponding to the epoch
Examples
epoch <- Date2EpochMilli(as.numeric(Sys.time()))
EpochMilli2Date(epoch)
[Package Rthingsboard version 0.2.7 Index]