View source: R/lubridate_supplements.R
yesterday | R Documentation |
Function to return the system's idea of yesterday.
yesterday(as_POSIXct = FALSE, tz = "UTC")
as_POSIXct |
Should the return be of |
tz |
If |
Date
or POSIXct
vector with a length of 1.
Stuart K. Grange
# Date data type
yesterday()
# POSIXct data type
yesterday(as_POSIXct = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.