Closed mstackhouse closed 1 year ago
> as.Date(19906)
[1] "2024-07-02"
> as.Date(19906, '1960-01-01')
[1] "2014-07-02"
> test_dt <- 19906 * 24 * 60 * 60 + (2 * 60 * 60) + (45 * 60) + 20
> as.POSIXct(test_dt, origin="1970-01-01")
[1] "2024-07-02 02:45:20 UTC"
Numeric data in data: 19906
Character date in data: "2014-07-02"
Numeric dates supplied in R should properly convert origins