DHTMLX Docs & Samples Explorer

setDate(date)

Makes the specified date selected.

Parameters:

  • date - the date you want to make selected.
myCalendar.setDate("2011-06-08");

Description:

  • The date should be defined either in the default date format ('%Y-%m-%d') or in the format that was indicated in setDateFormat() method.

See also: