Returns the weekday of month value of a DateTime.
int? WEEKDAY(DateTime? value)
Output Number | Weekday |
---|---|
1 | Monday |
2 | Tuesday |
3 | Wednesday |
4 | Thursday |
5 | Friday |
6 | Saturday |
7 | Sunday |
WEEKDAY(TODAY())
Will return a number value (1-7) which will correspond to a weekday in the above table e.g. '4' which would be Thursday.