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.
See:
  • checkdate()
Returns:
  • (bool) True if valid date, false if not valid date.
Defined at:

Description

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

Related Functions

wp_cache_delete, wp_richedit_pre, wp_authenticate, wp_cache_decr, wp_auth_check

Top Google Results

User discussions

wpseek mobile