timeFormatDate

converts a string in the time format to a Date object

object timeFormatDate(string time);

Parameters

timestringa time as a string in the time format

Returns

objecta Date object

Example

var date = webix.i18n.timeFormatDate("16:42");

Details

The default format is defined by the locale in use.

Back to top