Boolean: Show time with seconds?
Default: seconds = FALSE.
as_string
Boolean: Return as character string?
Default: as_string = TRUE.
If as_string = FALSE, a "POSIXct" object is returned.
sep
Character: Separator to use.
Default: sep = ":".
Details
By default, cur_time returns a
Sys.time() as a character string
(in "
using current system settings.
If as_string = FALSE, a "POSIXct"
(calendar time) object is returned.
For a time zone argument,
see the what_time function,
or the now() function of
the lubridate package.
See Also
what_time() function to print times with more options;
now() function of the lubridate package;
Sys.time() function of base R.
Other date and time functions:
change_time(),
change_tz(),
cur_date(),
days_in_month(),
diff_dates(),
diff_times(),
diff_tz(),
is_leap_year(),
what_date(),
what_month(),
what_time(),
what_wday(),
what_week(),
what_year(),
zodiac()