<?php $startDate = '09/14/2018'; $stopDate = '03/08/2019'; $startDate = strtotime($startDate); $stopDate= strtotime($stopDate); $nextDate =strtotime("today"); if ($nextDate >= $startDate && $nextDate <= $stopDate) { echo "Do your stuff here"; } ?>
You have javascript disabled. You will not be able to edit any code.