Date2EpochMilli: Convert a date into an epoch in milliseconds

Description Usage Arguments Value Examples

View source: R/Date2EpochMilli.R

Description

This function allows to convert epoch timestamp in seconds to an epoch in milliseconds

Usage

1
2
3
4
5
6
7
Date2EpochMilli(ts)

## S3 method for class 'POSIXt'
Date2EpochMilli(ts)

## S3 method for class 'numeric'
Date2EpochMilli(ts)

Arguments

ts

a numeric representing an epoch in seconds or a POSIXt date

Value

a character of the epoch in milliseconds

Examples

1

Rthingsboard documentation built on Jan. 19, 2022, 5:08 p.m.