DateTime.DayOfWeek
From Xojo Documentation
Read-Only Property (As Integer )
The day of the week as an integer: 1=Sunday, 7=Saturday.
Sample Code
The following displays the current day of the week.
The day of the week as an integer: 1=Sunday, 7=Saturday.
The following displays the current day of the week.