The month and day that starts the first week of the year.

Usage

Set_Property(OLECtrlEntID, "OLE.FirstWeekOfYear", StringValue)

Values

StringValue can be any string meeting the following format requirements:

Syntax: M/D

Default: "1/1"

Remarks

The FirstWeekOfYear property represents the first day of the first week of the year. This value is used to calculate week numbers. By default, the first week of the year starts on January 1. You can change this value if you want the week numbers to start anywhere else in the year. For example, you may want the week numbers to represent the current week in the fiscal year. The value is in the format "M/D". The month and day must be a valid day and cannot be 2/29.

Example

// Make July 1st the beginning of a fiscal year 
Set_Property(@Window:".OLE_DATEPICKER", "OLE.FirstWeekOfYear", "7/1")

See Also

FirstDayOfWeekFirstMonth

  • No labels