longDateFormatDate

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

object longDateFormatDate(string date);

Parameters

datestringa date as a string in the long-date format

Returns

objecta Date object

Example

var date = webix.i18n.longDateFormatDate("Monday, 16 February 2004");

Details

The default format is defined by the locale in use.

Back to top