timeinfo | R Documentation |
timeinfo
timeinfo(time = Sys.time()) time2num(time) num2time(num) time2str(time) time_round(time = Sys.time()) guess_time(file, format = "%Y-%m-%d_%H00")
time |
POSIXct or time character, e.g. "1998-01-01 01:00:00" |
num |
difference of |
A data.table with the columns of:
year
: int
month
: int
day
: int
hour
: int
time
: time character, e.g. "2021-10-16 14:25:35"
timenum
: difference of time
to 1970-01-01
(in second), e.g. 1634365535.959902
timeinfo() time_round()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.