The select() method selects the specified date in the date picker.
Available since 2025.1.6333.
DayPilot.DatePicker.select(date)date (DayPilot.Date | string) - the date to be selected
This method fires onTimeRangeSelect and onTimeRangeSelected.
const picker = new DayPilot.DatePicker("dp", {
// ...
});
picker.init();
picker.select(DayPilot.Date.today());