dayOfWeek
- function
- The dayOfWeek() function returns a number from 0 to 6 indicating the day of the week, with 0 being Sunday. This function can be passed a date value as a parameter, or will return the day of week of the current date if no parameter is supplied.
- Related: day, dayOfYear, dayOfCommonEra