Documentation

parseTimeFormatDate

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

object parseTimeFormatDate(string date);

Parameters

datestringstring in the needed format with time value

Returns

objectdate object with the needed time

Example

var hours = webix.i18n.parseTimeFormatDate("10:00").getHours();

Details

The default parseTimeFormat is %H:%i.

Back to top