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
Sys.time, date
Sys.time
date
# NOT RUN { kbdate() kbdate("standard") # }
Run the code above in your browser using DataLab