<?php $test_date = "08/02/2012"; $todays_date = date("d/m/Y"); if (strtotime($test_date) < strtotime($todays_date)) { echo "Past"; } else { echo "Future"; }
You have javascript disabled. You will not be able to edit any code.