now | R Documentation |
now
now(tzone = "")
tzone |
(character) a valid time zone, defaults to your local timezone |
x <- now() x x$time x$date x$utc x$unix_epoch x$min x$sec # mocking Sys.Date() clock_mock() library(timefuzz) mock <- time_fuzz$new() ## set to today + 10 days mock$freeze(Sys.Date() + 10) z <- now() z z$time z$date z$utc z$unix_epoch z$min z$sec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.