note 51508 added to function.strtotime
| From: | instaatcitiesunlimiteddotcom at osu1 dot php dot net | Date: | Fri, 01 Apr 2005 22:56:52 +0000 |
| Subject: | note 51508 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87330@lists.php.net to get a copy of this message | ||
Just a note ... there cannot be spaces between the + and the amount you want to add.
strtotime("{$myDate} -1 months") is correct.
strtotime("{$myDate} - 1 months") is not.
Caused me a headache ...
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51508
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51508&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51508&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51508&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51508&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51508&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51508&report=yes
Search -- http://master.php.net/manage/user-notes.php