DayOfWeek()

Syntax

Result = DayOfWeek(Date)
Description
Returns the day value in the week of the specified date. The result is always between 0 and 6. Here is the day table for each value:
  0 : Sunday
  1 : Monday
  2 : Tuesday
  3 : Wednesday
  4 : Thursday
  5 : Friday
  6 : Saturday
  Debug DayOfWeek(Date(2006, 10, 30, 0, 0, 0))  ; Outputs '1' for Monday.

Supported OS

All

<- Day() - Date Index - DayOfYear() ->