date based show if
Hey Rayt
am trying to show a 'new' icon if the product has been added less than or equal to 60 days
am trying ti use
<?php if ("".($Categories->getColumnVal("ProductDate")) < strtotime('-60 day')) { ?>
<div class="responsive-picture newIcon">
<picture><img alt="New Item" src="./images/misc/newIcon.png"></picture>
</div>
<?php } ?>
but this just shows it on any product
have also tried > strtotime but then that doesnt show it on any product
Not sure what I need to make it to get it to work?