Check if the supplied date is valid for the Gregorian calendar.
wp_checkdate( $month, $day, $year, $source_date );
True if it is a valid Gregorian calendar date. False if not.
Applies the filter wp_checkdate to the return.
wp_checkdate() is located in wp-includes/functions.php
.