wpseek.com
				A WordPress-centric search engine for devs and theme authors
			wp_checkdate › WordPress Function
Since3.5.0
Deprecatedn/a
› wp_checkdate ( $month, $day, $year, $source_date )
| Parameters: (4) | 
 | 
| Links: | |
| Returns: | 
 | 
| Defined at: | 
 | 
| Codex: | 
Tests if the supplied date is valid for the Gregorian calendar.
Related Functions: wp_date, wp_check_comment_data, wp_cache_delete, wp_richedit_pre, wp_authenticate
	Source
function wp_checkdate( $month, $day, $year, $source_date ) {
	/**
	 * Filters whether the given date is valid for the Gregorian calendar.
	 *
	 * @since 3.5.0
	 *
	 * @param bool   $checkdate   Whether the given date is valid.
	 * @param string $source_date Date to check.
	 */
	return apply_filters( 'wp_checkdate', checkdate( $month, $day, $year ), $source_date );
}