DayPilot.Month.startDate

The startDate property (string | DayPilot.Date) sets the date range to be displayed by the calendar. Depending on the viewType value, the calendar will display the corresponding month (viewType="Month") or a specified number of weeks, starting with startDate (viewType="Weeks").

A string value is converted to DayPilot.Date automatically.

Default Value

DayPilot.Date.today()

Example

dp.startDate = "2022-03-01";