admin
Administrator
     
Offline
Posts: 234
|
 |
« on: November 17, 2014, 05:01: PM » |
|
<?php $now = time(); // or your date as well $your_date = strtotime(@$row_rsecho['transaction_date']); // dynamic recordset date $datediff = $now - $your_date; $days= ($datediff / (60 * 60 * 24)) ?>
Show if based on # of days less than <?php // Show IF Conditional region for 60 days if($days > 60) { ?> Your text or image that will show if greater than 60 days past start date ?> // end show if
Show if based on # of days less than <?php // Show IF Conditional region for 180 days or 6 months if($days < 180) { ?> Your text or image that will show if less than 180 days past start date ?> // end show if
|