Gets the week days for the locale.
dtt_wday(x, abbr = FALSE, ...)
# S3 method for default
dtt_wday(x, abbr = FALSE, ...)
A date/time vector.
A flag specifying whether to abbreviate the week days.
Unused.
An character vector of the week days.
dtt_wday(default)
: Get character vector of week days for a Date vector
x <- as.Date("1990-01-02")
dtt_wday(x)
#> [1] "Tuesday"
x <- as.POSIXct("1990-01-02 23:40:51")
dtt_wday(x, abbr = TRUE)
#> [1] "Tue"