yesterday.Rd
The previous day
yesterday(tzone = "")
a character vector specifying which time zone you would like to find the previous date of. tzone defaults to the system time zone set on your computer.
the previous date as a Date object
yesterday()
#> [1] "2022-03-22"
yesterday("UTC")
#> [1] "2022-03-22"