jQuery UI datepicker check format -


I have to restrict users so that they can only enter dates in these formats:

  010611 01062011 01-06-2011 01/06/2011 01jun11 01jun2011   

Is there an API function for this, or should I use regular expressions?

I had the only need I solved using it for jQuery.

Here you can define the proper format through a regular expression.

Comments