Get Date and Time in different Formats in R Programming - date(), Sys.Date(), Sys.time() and Sys.timezone() Function
date() function in R Language is used to return the current date and time. Syntax: date() Parameters: Does not accept any parameters Example: # R program to illustrate # date function # Calling date() function to # return current date and time date() Output: [1] "Thu Jun 11 04:29:39 2020" Sys.Date()