powered by
Sys.Date as a string, in a few different formats
kbdate(format = c("dateonly", "standard"), date = Sys.time())
The format for the output
The date/time to convert
A character string representation of the date/time
base::Sys.time(), base::date()
base::Sys.time()
base::date()
# NOT RUN { kbdate() kbdate("standard") # }
Run the code above in your browser using DataLab