parseFormatDate

converts a string in the parsing date format to a Date object

object parseFormatDate(string date);
datestringa date as a string
objecta Date object

Example

var date = webix.i18n.parseFormatDate("2001-02-16");

Details

The default format is defined by the locale in use and initially it's "%Y-%m-%d" (the default MySQL date format).

Back to top