It checks whether the date is valid or not
General Format :checkdate ( int $month , int $day , int $year )
Example :
<?php
if(checkdate(12, 31, 2000))
echo “Given Date Is Correct”;
?>
Output
Given Date Is Correct
It checks whether the date is valid or not
General Format :checkdate ( int $month , int $day , int $year )
Example :
<?php
if(checkdate(12, 31, 2000))
echo “Given Date Is Correct”;
?>
Output
Given Date Is Correct