<?
$check = checkdate($monat,$tag,$jahr);
if($check){
echo "Das Datum ist korrekt.";
} else {
echo "Das Datum ist <b>nicht</b> korrekt.";
}
?>