Return to Snippet

Revision: 18841
at October 9, 2009 16:51 by SteveMcDaniel


Initial Code
<?
       echo 'Three days from now is: ' . date('m-d-Y', strtotime('+3 days')) . '<br />';
       echo 'Next Wednesday is: ' . date('m-d-Y', strtotime('next wednesday')) . '<br />';
       echo 'Three Saturdays ago was: ' . date('m-d-Y', strtotime('-3 weeks saturday')) . '<br />';
?>

Initial URL

                                

Initial Description

                                

Initial Title
Add or Subtract Days from Date

Initial Tags
php, date

Initial Language
PHP