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