DayPilot.Scheduler.startDate

The startDate property sets the beginning of the range displayed by the JavaScript Scheduler component.

In addition to DayPilot.Date object, it also accepts a string in ISO 8601 format ("2024-01-01T00:00:00"). 

See Also

Default Value

new DayPilot.Date()

Examples

Using DayPilot.Date object:

dps.startDate = DayPilot.Date.today().addDays(5);

Using date string:

dps.startDate = "2024-01-01";

Using date/time string:

dps.startDate = "2024-01-01T12:00:00";