Name
checkdate
Synopsis
bool checkdate(intmonth
, intday
, intyear
)
Returns true
if the month, date, and year as given
in the parameters are valid, and false
if not. A
date is considered valid if the year falls between 1 and 32767
inclusive, the month is between 1 and 12 inclusive, and the day is
within the number of days the specified month has.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.