TimeWarp (version 1.0.15)

dateDow: Formats a date/time as character and appends the day of week

Description

Formats a date/time as character and appends the day of week in the current locale. Is a generic with currently on a default method.

Usage

dateDow(date)

Arguments

date

A vector that can be interpreted as a date.

Value

A character vector.

Details

For character values of date, parses the date using dateParse(date, dross.remove=TRUE) and converts to day of week using weekdays(). For date of other classes, calls weekdays(date) directly. Weekdays uses the locale LC_TIME to determine the language used.

See Also

weekdays

Examples

Run this code
# NOT RUN {
dateDow(Sys.time())
dateDow(Sys.Date())
dateDow('2011-01-01')
# }

Run the code above in your browser using DataLab