Description Usage Arguments Details See Also Examples
yesterday, tomorrow, last month and next month based on the current datetime
1 2 3 4 5 6 7 8 9 10 11 |
tzone |
a character vector specifying which time zone you would like the current time in. tzone defaults to your computer's system timezone. You can retrieve the current time in the Universal Coordinated Time (UTC) with now("UTC"). |
These functions provide commonly used dates relative to the current date and
time (now
). They give the floor for the specified time period.
1 2 3 4 5 6 7 8 9 | yesterday()
tomorrow()
last_month()
next_month()
last_hour()
next_hour()
# ( now() - ddays(1) ) > yesterday()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.