How do I check if a date entered exists?
It is very useful, easy to use and can save a lot of hassle with problems in your registration forms and so on when people enter a date of birth that doesn't exist.
But not many people call it. If you need to do any sanity checking on dates on your web forms then it is worth passing a date through this function as one of your checks.
The function is called checkdate() and takes the month, day, year as parameters.
Comment on this Question and Answer >>>
ASK A QUESTION
More other PHP Questions
What is the differece between $message and $$message?Can PHP create PDF files for me?
How do I access or format the date?
How do I find out about my PHP installation?
Can I include Javascript in my PHP code?
