checkdate

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

説明

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

戻り値

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