powered by
Return the day of the week as an integer
wday(date = Sys.Date())
A integer with the weekday component of the date
A Date object, with the current date as the default
This function simply wraps around the as.POSIXlt function and returns its wday field.
as.POSIXlt
wday