|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-01-30 10:53 UTC] stas@php.net
-Status: Open
+Status: Feedback
[2011-01-30 10:53 UTC] stas@php.net
[2011-01-30 15:09 UTC] an0nym at narod dot ru
-Status: Feedback
+Status: Open
[2011-01-30 15:09 UTC] an0nym at narod dot ru
[2011-01-30 15:12 UTC] an0nym at narod dot ru
[2011-05-08 11:48 UTC] eikcam at internode dot on dot net
[2011-11-21 03:01 UTC] danielc@php.net
-Status: Open
+Status: Duplicate
-Assigned To:
+Assigned To: danielc
[2011-11-21 03:01 UTC] danielc@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 03:00:02 2025 UTC |
Description: ------------ See test script. On FreeBSD 8.1-RELEASE-p1 amd64, Linux 2.6.18-194.32.1.el5 x86_64, Windows 7 x64 everything works fine. Test script: --------------- date_default_timezone_set("UTC"); $d = new DateTime("2011-01-01"); echo $d->diff(new DateTime("2010-01-01"))->format("%a"); Expected result: ---------------- 365 Actual result: -------------- 6015