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