<?php$today = date(‘d-m-Y’); // Date must be in ‘d-m-Y’ format$date = “07-07-2020”; if(strtotime($date) < strtotime($today)){ echo $date .’ date is smaller than today ‘.$today […]
<?php$today = date(‘d-m-Y’); // Date must be in ‘d-m-Y’ format$date = “07-07-2020”; if(strtotime($date) < strtotime($today)){ echo $date .’ date is smaller than today ‘.$today […]