Returns the day of the week for a given date.
WeekDay( Date ) WeekDay( Date, firstDayOfWeek )
Numeric day of the week.
WeekDay(Date(2002,01,06)) // Returns 2