powered by
cur_time provides a satisficing version of Sys.time() that is sufficient for most purposes.
cur_time
Sys.time()
cur_time(seconds = FALSE, sep = ":")
Boolean: Show time with seconds? Default: seconds = FALSE.
seconds = FALSE
Character: Separator to use. Default: sep = ":".
sep = ":"
cur_time returns Sys.time() (in " using current system settings.
For a time zone argument, see the now() function of the lubridate package.
now()
now() function of the lubridate package; Sys.time() function of base R.
Other date and time functions: cur_date(), what_date(), what_day(), what_month(), what_time(), what_week(), what_year()
cur_date()
what_date()
what_day()
what_month()
what_time()
what_week()
what_year()
# NOT RUN { cur_time() cur_time(seconds = TRUE) cur_time(sep = ".") # }
Run the code above in your browser using DataLab