I found a lot of links to validate string if it is a date.
But anyway I cannot figure out how to validate if we have this thing:
6/6/2012 where first 6 is month and the second 6 is days
and also if user input it like that:
06/06/2012
Any clue how it could be done in a proper way?
Thanks!!
Here, this should work with any date format with 4 digit year and any delimiter. I extracted it from my plugin Ideal Forms which validates dates and much more.