<?php $start_date = "2019-07-29"; $end_date = "2019-07-31"; $date_now = date('Y-m-d'); if((strtotime($date_now) >= strtotime($start_date)) && (strtotime($date_now) <= strtotime($end_date))){ echo "promo active!"; }
You have javascript disabled. You will not be able to edit any code.