to_datetime_origin: Converts numeric value into POSIXct datetime type

Description Usage Arguments Details Value See Also

View source: R/utils.R

Description

Converts numeric value into POSIXct datetime type

Usage

1

Arguments

x

numeric value to be converted

Details

Hacker News API supplies time as a Unix Time, which origin date is "1970-01-01". This value has to be passed to as.POSIXct function in order to get proper time representation

Value

time object of class POSIXct

See Also

as.POSIXct

https://github.com/HackerNews/API

https://en.wikipedia.org/wiki/Unix_time


hackeRnews documentation built on Dec. 16, 2019, 1:24 a.m.