DHTMLX Docs & Samples Explorer

getDate(isFormatted)

Returns the currently selected date.

Parameters:

  • isFormatted - (boolean) if the parameter is set to 'true' date will returned as string in current date format, optional
var currentDate = myCalendar.getDate();

See also: