WeekDay

Returns the day of the week for a given date.

Usage:

WeekDay( Date )
WeekDay( Date, firstDayOfWeek )

Returns:

Numeric day of the week.

Examples:

WeekDay(Date(2002,01,06))  // Returns 2

See also: