Date2EpochMilli {Rthingsboard} | R Documentation |
This function allows to convert epoch timestamp in seconds to an epoch in milliseconds
Date2EpochMilli(ts)
## S3 method for class 'POSIXt'
Date2EpochMilli(ts)
## S3 method for class 'numeric'
Date2EpochMilli(ts)
ts |
a character of the epoch in milliseconds
Date2EpochMilli(as.numeric(Sys.time()))