ms_to_date: Convert milliseconds to POSIXct

Description Usage Arguments Value Author(s)

View source: R/dexr_helper.R

Description

Convert milliseconds to POSIXct

Usage

1
ms_to_date(ms, t0 = "1970-01-01", timezone = "Europe/Berlin")

Arguments

ms

a numeric vector of milliseconds (big integers of 13 digits)

t0

a string of the format "yyyy-mm-dd", specifying the date that corresponds to 0 millisecond

timezone

a string specifying a timezone that can be recognized by R

Value

POSIXct vector representing calendar dates and times

Author(s)

Sascha Holzhauer


UniK-INES/dexR documentation built on June 30, 2021, 11:05 p.m.