Link to home
Start Free TrialLog in
Avatar of debbieau1
debbieau1Flag for United States of America

asked on

problem selecting records greater than now

I need to check if a date for the record being displayed is later than the current date and time.

<?php
// Show IF Conditional region7
if (date("Y-m-d H:i", strtotime($row_rstest['followup'])) > date("Y-m-d H:i", strtotime(NOW))){
?>
                    this is greater
  <?php }
// endif Conditional region7
?>

The above is what I have at the moment which is not working.

I would appreciate some help with this please
ASKER CERTIFIED SOLUTION
Avatar of cyberkiwi
cyberkiwi
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of debbieau1

ASKER

thanks