Weekday

Description

Returns an integer from 1 to 7, indicating the weekday of the specified date.

Syntax

Weekday ( date)

Arguments

date is a Date expression.

Remarks

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.