WEEKDAY

Syntax

WEEKDAY(<date>)

Description

Returns an integer between (1-7) corresponding to the day of the week of the date.

DayInteger
Monday1
Tuesday2
Wednesday3
Thursday4
Friday5
Saturday6
Sunday7

Examples

DateWEEKDAY returns
Oct 15, 20022
Oct 16, 20023
Oct 17, 20024
Oct 18, 20025
Oct 18, 20036
Oct 18, 20041
Oct 18, 20305