check for a valid date

check for a valid date

<?php
if (checkdate(11, 12, asa))
//if (checkdate(11, 12, two and six))
{
echo "Date is in a valid format";
}
else
{
echo "Date is not valid";
}
?>