timeFormatStr

converts a Date object to a string in the time format

string timeFormatStr(object date);
dateobjecta Date object
stringa time as a string in the time format

Example

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

Details

The default format is defined by the locale in use.

Back to top