Learn R Programming

ISOweek (version 0.6-2)

weekday0: Weekday as integer number (0-6, Monday is 0)

Description

This internal function returns the weekday of a given date.

Usage

weekday0(date)

Arguments

date
Vector which can be coerced to class Date

Value

An integer vector of weekdays (0-6, Monday is 0)

Details

The week starts on Monday and ends on Sunday.

See Also

ISOweekday