Skip to main content

date

defines the date that will be opened when the calendar is created

date?: Date | string;

Example

var calendar = new dhx.Calendar("calendar_container", {    value: new Date(),    date: new Date(2019, 0, 1)});

Related sample: Calendar. Date Initialization

By default, it is either the same as value, or shows the current date, if value is not specified.