Returns the weekday number of a date value.
Syntax:
WEEKDAY(date)
The weekday number of date is returned in numeric form.
The value 1
represents Sunday, 2
represents Monday, … and 7
represents Saturday.
Example:
WEEKDAY(26.05.1993)
returns the number 4
, which corresponds to Wednesday.
See also DAYNAME
.