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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.