num2date | R Documentation |
POSIX*
will convert a numeric vector (seconds since UNIX epoch) using as.POSIXct
.
num2date(d, tz = "UTC", origin = "1970-01-01", ...)
d |
a numeric vector of dates. |
tz , origin |
as expected by |
... |
any other |
beware if you open any csvs in excel and re-save, the dates will likely be put into an absurb ambiguous form. additionally, seconds tend to be obliterated.
as.POSIXct
Other date manipulators:
date2num()
num2date(574153200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.