Posted 8 June 2023, 4:23 am EST
Hi Said,
The week number is dependent on the rule being used to determine the first week of the year. These rules are defined in the System.Globalization.CalendarWeekRule Enum and you can use the C1DateEdit.Calendar.CalendarWeekRule property to set these rules. You can also find the same rules defined in the Windows’ Calendar app as well (see WindowsCalendarApp.zip )
Setting the below code will match the C1DateEdit week numbers with the ones shown in your outlook.
C1DateEdit1.Calendar.CalendarWeekRule = Globalization.CalendarWeekRule.FirstFullWeek
Thanks, and Best Regards,
Kartik