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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.