I Want how to compare two dates
I have this
$last_day = '2017-11-01';
$end = '18/03/2017';
$last_day = date('d/m/Y', strtotime($last_day));
if($last_day < $end){
echo "Is closed";
}else{
echo "Is Open";
}
Return "Is Close"
What happens?