Change the first day of the week
14 Mar 20221 minute to read
The Calendar provides an option to change the first day of the week by using the firstDayOfWeek property. Generally, the day of the week starts from 0 (Sunday) and ends with 6 (Saturday).
By default, the first day of the week is culture specific.
The following example shows the Calendar with Tuesday
as the first day of the week.
@Html.EJS().Calendar("element").FirstDayOfWeek(2).Render()