Jump to content

If statement on date?


Recommended Posts

Hi everyone, I have this script

 

<?php $today = $row_rsworksorders1['intraartapproval'];
            $est = strtotime('+15 day', strtotime($today));
            print date('d/m/Y', $est); ?>

 

I need to say if $est is 14 days past the current date change the font colour, has anybody any idea how to do this? Thanks

Link to comment
https://forums.phpfreaks.com/topic/201724-if-statement-on-date/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.