Check documentation for the latest version of dhtmlxSuite date2str DHTMLX Docs

date2str

converts date into string

string date2str(string val,string format);

Parameters

valstringthe date
formatstringthe date format

Returns

stringthe date as a string

Example

window.dhx.date2str(val, format);

Back to top