wp_checkdate


wp_checkdate ( $month, $day, $year, $source_date )

Parameters:
  • (int) month Month number.
  • (int) day Day number.
  • (int) year Year number.
  • (string) source_date The date to filter.
Links:
Returns:
  • (bool) True if valid date, false if not valid date.
Defined at:

Description

Tests if the supplied date is valid for the Gregorian calendar.

Related Functions

wp_date, wp_authenticate, wp_cache_delete, wp_richedit_pre, wp_cache_decr

Top Google Results

User discussions

wpseek mobile