The startDate property (string | DayPilot.Date) sets the date range to be displayed by the Monthly 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.
DayPilot.Date.today()
Monthly Calendar config:
{
startDate: "2025-03-01",
// ...
}