There is no property within the component to specify the starting day of the week. However, there are functions; which are specific to a development platform, that will allow the developer to specify the starting day of the week.
For Example:
For Visual Basic and Access Developers, the Weekday function could be used |
Dim lngDateStart as long |
lngDateStart Me.ctCalendar1.DateStart |
Me.ctCalendar1.DateStart = lngDateStart - ((Weekday(lngDateStart - 1)) Mod 6) |
The following is a small table indicating the values for each day for Visual Basic and Access:
Value | Description |
1 | Sunday |
2 | Monday |
3 | Tuesday |
4 | Wednesday |
5 | Thursday |
6 | Friday |
7 | Saturday |
For additional information on the Weekday function from the MSDN website, click here.