Description
The WeekDay function returns the weekday for today’s date.
Syntax
var = WeekDay()
Parameters
None.
Return Value
var, integer, representing the weekday for today’s date. The possible values are:
| Return Value | Description |
|---|---|
| 1 | Sunday |
| 2 | Monday |
| 3 | Tuesday |
| 4 | Wednesday |
| 5 | Thursday |
| 6 | Friday |
| 7 | Saturday |
Example
day = WeekDay()
