Consider following code:
$today = date(\"d/m/Y\"); $start_date = \'20/11/2014\'; $time1 = strtotime($start_date1); $start_date1 = date(\'d/m/Y\',$time1); $end_
Try this:
<?php $now = new DateTime(); $startdate = new DateTime("2014-11-20"); $enddate = new DateTime("2015-01-20"); if($startdate <= $now && $now <= $enddate) { echo "Yes"; }else{ echo "No"; } ?>