seltime_fun | R Documentation |
Format before and after arguments for API query
seltime_fun(dtin, before = TRUE)
dtin |
Date object for |
before |
logical indicattng if input is |
A numeric object as an epoch timestamp
# convert to epoch timestamp
seltime_fun(Sys.Date())
# back to original
as.POSIXct(seltime_fun(Sys.Date(), before = FALSE), tz = Sys.timezone(), origin = '1970-01-01')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.