Blazor Calendar Example - Week Number
January 2026
| S | M | T | W | T | F | S | |
|---|---|---|---|---|---|---|---|
| 1 | 28 | 29 | 30 | 31 | 1 | 2 | 3 |
| 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 3 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 4 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 5 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Selected date is: 1/1/2026
Properties
This sample demonstrates the week number and different week rules functionalities of the Calendar.
The Calendar provides the WeekNumber and WeekRule properties to specify the rule for defining the first week of the year with options: FirstDay, FirstFullWeek, and FirstFourDayWeek.
See also: