today

0th

Percentile

The current date

The current date

Keywords
utilities, chron
Usage
today(tzone = "")
Arguments
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.

Value

the current date as a Date object

Aliases
  • today
Examples
# NOT RUN {
today()
today("GMT")
today() == today("GMT") # not always true
today() < as.Date("2999-01-01") # TRUE  (so far)
# }
Documentation reproduced from package lubridate, version 1.7.4, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.