Documentation

parseTimeFormatStr

converts a Date object to a string in the parsing format with respect to time value

string parseTimeFormatStr(object date);

Parameters

dateobjectdate object with time value

Returns

stringtime string in default format

Example

var time = webix.i18n.parseTimeFormatStr(new Date());

Details

The default parseTimeFormat is %H:%i.

Back to top