chr_to_dttm | R Documentation |
chr_to_dttm
standardizes a datetime vector in character format and returns
a vector in POSIXct
format.
chr_to_dttm( x, tz = "UTC", orders = c("mdy", "dmy", "ymd", "mdyT", "dmyT", "ymdT", "mdyR", "dmyR", "ymdR", "mdyr", "dmyr", "ymdr", "mdyTz", "dmyTz", "ymdTz", "Tmdyz", "Tdmyz", "Tymdz", "mdyRz", "dmyRz", "ymdRz", "mdyrz", "dmyrz", "ymdrz", "Tmdy", "Tdmy", "Tymd", "Tmdyz", "Tdmyz", "Tymdz"), train = TRUE, ... )
x |
A vector of character dates |
tz |
Optional timezone |
orders |
The orders to use when parsing character vector with
|
train |
logical, default |
... |
Additional arguments to pass to
|
A POSIXct
vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.