|Functions / Date and Time Functions|
Returns an integer from 1 to 7, indicating the weekday of the specified date.
Weekday ( date)
date is a Date expression.
Weekday returns an integer value representing the day of the week with 1 = Sunday, 2 = Monday, etc. If date is null, Weekday returns null.
Weekday works with both Date and DateTime expressions.