Hello,
I am facing a problem with checking date
The date is comming from a form as $datevisit. It is dd/mm/yyyy. To enter it in SQL database, I convert it in YYYY-MM-DD format. So what I'd like is to make a check on YYYY-DD-DD format.
What that check should do is not let any date that is invalid like 14/13/2004 (dd/mm/yyyy format comming from form) or like 34/03/2004 (dd/mm/yyyy format comming from form)
Can somebody please help me here?