note 109680 deleted from function.strtotime by danbrown
| From: | danbrown@php.net | Date: | Fri, 10 Aug 2012 16:07:41 +0000 |
| Subject: | note 109680 deleted from function.strtotime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189993@lists.php.net to get a copy of this message | ||
Note Submitter: stwmd at stwmd dot net
----
Note the following:
echo '<br>'.date('Y-m-d', strtotime("+6 months Aug 29, 2010"));
echo '<br>'.date('Y-m-d', strtotime("+6 months Aug 30, 2010"));
echo '<br>'.date('Y-m-d', strtotime("+6 months Aug 31, 2010"));
echo '<br>'.date('Y-m-d', strtotime("+6 months Sep 1, 2010"));
will produce:
2011-03-01
2011-03-02
2011-03-03
2011-03-01