dateFormatStr

converts a Date object to a string in the default date format

string dateFormatStr(object date);
dateobjecta Date object
stringa date as a string in the default date format

Example

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

Details

The default format is defined by the locale in use.

Back to top