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

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -