today: The current date

Description Usage Arguments Value Examples

Description

The current date

Usage

1
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

Examples

1
2
3
4
today()
today("GMT")
today() == today("GMT") # not always true
today() < as.Date("2999-01-01") # TRUE  (so far)


Search within the lubridate package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.