Description Usage Arguments Value Examples
These functions allow the quick creation of Date and POSIXct objects
1 2 3 | new_date(x = double())
new_posixct(xx = double(), tzone = "")
|
x |
A double vector representing the number of days since the UNIX "epoch", 1970-01-01. |
xx |
A double vector representing the number of seconds since the UNIX "epoch", 1970-01-01. |
tzone |
A character vector representing the desired time zone. Defaults
to "" for the local time zone. Possible values can be found with
|
new_date
: a (Date) object.
new_posixct
: a (POSIXct) object.
1 2 | new_date(0)
new_posixct(0, tzone = "UTC")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.