Req #75011 [Opn->Ver]: Add month on date 31 july 2017
| From: | ab@php.net | Date: | Mon, 31 Jul 2017 11:48:39 +0000 |
| Subject: | Req #75011 [Opn->Ver]: Add month on date 31 july 2017 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210429@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75011&edit=1
ID: 75011
Updated by: ab@php.net
Reported by: tapask10 at gmail dot com
Summary: Add month on date 31 july 2017
-Status: Open
+Status: Verified
Type: Feature/Change Request
Package: Scripting Engine problem
Operating System: Windows 7, Cent OS
-PHP Version: 5.6.31
+PHP Version: 7.0
-Assigned To:
+Assigned To: derick
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-07-31 11:16:16] tapask10 at gmail dot com
Description:
------------
i am tring to add some month on date but the return coming error. Please remember that the system
date should be 31 july 2017
Test script:
---------------
date('M',strtotime("+2 month"));
Expected result:
----------------
Sep
Actual result:
--------------
Oct
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75011&edit=1