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 = ":".
Value
A character string or object of class "POSIXct".
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.