Edit this page

parseFormats Array

Specifies a list of date formats used to parse the value set with value() method or by direct user input. If not set the value of the format will be used. Note that the format option is always used during parsing.

The order of the provided parse formats is important and it should go from more strict to less strict.


<input id="datepicker" />
    format: "yyyy/MM/dd",
    parseFormats: ["MMMM yyyy"] //format also will be added to parseFormats
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article