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