View source: R/server-std_dates.R
std_dates | R Documentation |
'std_dates' standardizes a date vector and returns a vector in 'Date' or 'POSIXct' format, depending on whether there is sub-daily information available in the data.
std_dates(x, orders = c("dmy", "mdy", "ymd", "dmyT", "mdyT", "ymdT"))
x |
A vector of dates in a 'Date'- or 'POSIXct'-like format, or as character strings |
orders |
The orders to use when parse character strings with
|
A 'Date' or 'POSIXct' vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.