Check documentation for the latest version 6.0 of dhtmlxSuite setFormatedDate DHTMLX Docs

setFormatedDate

sets date using specified date format

void setFormatedDate(string format,string date);

Parameters

formatstringthe date format (if omitted, the currently set date format will be used)
datestringthe date in the format specified by the first parameter

Example

// selects the 3rd June 2011
myCalendar.setFormatedDate("%d/%m/%Y", "03/06/2011");

Details

date formats

Back to top