what_time provides a satisficing version of
Sys.time() that is sufficient for most purposes.
Usage
what_time(when = NA, seconds = FALSE, sep = ":")
Arguments
when
Time (as a scalar or vector).
Default: when = NA.
Returning Sys.time(), if when = NA.
seconds
Boolean: Show time with seconds?
Default: seconds = FALSE.
sep
Character: Separator to use.
Default: sep = ":".
Details
what_time returns either a simple version of
when or Sys.time()
(in "
using current system settings.
See Also
cur_time() function to print the current time;
cur_date() function to print the current date;
now() function of the lubridate package;
Sys.time() function of base R.