SET FDOW Command
Specifies the first day of the week.
SET FDOW TO [nExpression]
- Specifies the first day of the week. The following table lists the values nExpression can assume and the corresponding first day of the week.
Nexpression Day of the week 1 Sunday 2 Monday 3 Tuesday 4 Wednesday 5 Thursday 6 Friday 7 Saturday
If you omit nExpression, the first day of the week is reset to Sunday (1).
The first day of the week can also be set with the Week Starts On list box in the Regional tab of the Options dialog.
STORE SET('FDOW') TO gnFdow && Save current value SET FDOW TO 1 && Sets first day of the week to Sunday, the default SET FDOW TO 7 && Sets first day of the week to Saturday SET FDOW TO &gnFdow && Restore original day