Adding and Subtracting Time | ||
| ||
| <?php $b = time () - 3600; print date("D, F jS G:i a",$b) . "<br>"; ?> You can add or subtract any amount of seconds to the time function while you create it's variable. This let's you offset minutes, hours, days or even years. | ||
| | ||
| |