Blazor Calendar Example - Week Number
January 2025
| S | M | T | W | T | F | S | |
|---|---|---|---|---|---|---|---|
| 1 | 29 | 30 | 31 | 1 | 2 | 3 | 4 |
| 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 3 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 4 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 5 | 26 | 27 | 28 | 29 | 30 | 31 | 1 |
Selected date is: 1/1/2025
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: