DayPilot.Calendar.startDate

The startDate property (string | DayPilot.Date) sets the date displayed by the calendar. Depending on the viewType value, this property sets the first visible date ("Day", "Days" modes) or is used to calculate the visible period ("Week", "WorkWeek").

A string value is converted to DayPilot.Date automatically.

Default Value

DayPilot.Date.today();

Example

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