DayOfWeek Function
Returns the day of the week with 0 = Sunday and 6 = Saturday.
Syntax 1
DayOfWeek()
Returns the day of the week with 0 = Sunday and 6 = Saturday.
Syntax 2
DayOfWeek(dateValue)
Returns the day of the week with 0 = Sunday and 6 = Saturday.
Arguments
dateValue
Date - A date.
Remarks
Example:
DayOfWeek("2010-07-23"); // returns 5