<?php $x = date("Y-m-d", strtotime("2013-03-01")); $y = date("Y-m-d", strtotime("2013-02-01")); echo $x; echo $y; if ($x > $y) { echo "Sim"; } else { echo "Não"; }
You have javascript disabled. You will not be able to edit any code.