longDateFormatStr

converts a Date object to a string in the long-date format

string longDateFormatStr(object date);

Parameters

dateobjecta Date object

Returns

stringa time as a string in the long-date format

Example

var text = webix.i18n.timeFormatStr(new Date());

Details

The default format is defined by the locale in use.

Back to top