The current date
today(tzone = "")
| tzone | a character vector specifying which time zone you would like to find the current date of. tzone defaults to the system time zone set on your computer. |
|---|
the current date as a Date object
today()#> [1] "2020-03-11"today("GMT")#> [1] "2020-03-11"today() == today("GMT") # not always true#> [1] TRUE#> [1] TRUE