SET FWEEK Command
Specifies the requirements for the first week of the year.
Specifies a value, which determines the requirements for the first week of the year. The following table lists the values nExpression can assume and the corresponding requirements for the first week of the year:
nExpression First week requirement
(Default) The first week contains January 1st.
The larger half (four days) of the first week is in the current year.
The first week has seven days.
If you omit nExpression, the first week of the year is reset to 1 (the first week contains January 1st).
The first week of the year can also be set with the First Week of Year list box in the Regional tab of the Options dialog.
STORE SET('FWEEK') TO gnFweek && Save current value SET FWEEK TO 1 && First week contains January 1st SET FWEEK TO 3 && First week has seven days SET FWEEK TO &gnFweek && Restore original setting