|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-05-31 12:38 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2019-05-31 12:38 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 03 20:00:02 2026 UTC |
Description: ------------ DateTime->modify When I subtract 1 month from new DateTime (today is 5th May 2019), I got wrong Date (1st May 2019) but I was expecting April. Test script: --------------- var_dump((new \DateTime())->modify('-1 months'));