R/pretty_time.R

Defines functions pretty_time

Documented in pretty_time

#' a function to format the time
#' @keywords internal
#' @returns A string with the formatted current date and time
pretty_time <- function(){
  format(Sys.time(), "%Y-%m-%d %H:%M:%S\n")
}

Try the plmmr package in your browser

Any scripts or data that you put into this service are public.

plmmr documentation built on April 4, 2025, 12:19 a.m.