function to validate date?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
   Does anyone know a predefined function (or can provide one) that
takes three varaibles, $day, $month, and $year and returns whether or
not all three constitute a valid date in which it is expected that day
is a 2 or 1 digit number, month is a 2 or 1 digit number, and year is a
4 digit number.

I'm using PHP 4.

Thanks, - Dave

Re: function to validate date? wrote:
Quoted text here. Click to load it

E. Dronkert

Site Timeline