View source: R/lubridate_supplements.R
now_to_the_second | R Documentation |
now_to_the_second
floor rounds the current time.
now_to_the_second(tz = Sys.timezone(), as_numeric = FALSE)
tz |
Time zone to represent dates in. The default is the system's time zone. |
as_numeric |
Should the time be returned as the numeric Unix time? |
POSIXct
or numeric vector with a length of 1.
Stuart K. Grange
now
, Sys.time
, floor_date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.