Search results

Change the first day of the week

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.

razor
@Html.EJS().Calendar("element").FirstDayOfWeek(2).Render()