DayPilot.DatePicker.date

The date property (DayPilot.Date | string) sets the selected date in the date picker.

Declaration

DayPilot.DatePicker.date

Default Value

Notes

If you set it to a string, it will be converted to DayPilot.Date automatically. After every user change, this property is updated to the selected date as a DayPilot.Date object.

Example

const picker = new DayPilot.DatePicker({
  target: "start",
  date: "2026-03-10",
  // ...
});
picker.show();

See Also

DayPilot.DatePicker Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript