Weekday Function
Description:
The day of the week, in the range 1 (Sunday) to 7 (Saturday), which the date falls on.
Returns:
Whole Number
Parameter:
Parameter | Data Type | Description |
|---|---|---|
1 | Date | The date. |
Examples:
When using functions inside a field, remember the field brackets:
{Weekday(TerminationDate)}
Expression | Result |
|---|---|
Weekday( Date( 2000, 2, 29 ) ) | 3 |
Weekday( Date( 2000, 2, 27 ) ) | 1 |
Weekday( Date( 2000, 2, 22 ) ) | 3 |