checkdate

Example

 bool checkdate ( int $month , int $day , int $year ) 

Description

Checks the validity of the date formed by the arguments. A date is considered valid if each parameter is properly defined.

Return Values

Returns TRUE if the date given is valid; otherwise returns FALSE.