checkdate()
function checkdate(int $month, int $day, int $year): bool
Validates a Gregorian date.
Parameters:
$month(int)$day(int)$year(int)
Returns: bool
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how checkdate is implemented in the compiler, see the internals page.