DHTMLX Docs & Samples Explorer

getDate(isFormatted)

Returns the currently selected date.

Parameters:

  • isFormatted - (boolean) if the parameter is set to 'true' the formatted date will be returned. By default is 'false'. Optional.
var currentDate = myCalendar.getDate();

See also: