note 77293 added to ref.datetime

From: Date: Thu, 23 Aug 2007 09:15:03 +0000
Subject: note 77293 added to ref.datetime
Groups: php.notes 
Request: Send a blank email to php-notes+get-129725@lists.php.net to get a copy of this message
Regarding the routine below that should have correctly calculated the duration between two dates: The author of the below posting should have tested the code better, erm... The code partly works, but: it does blatantly fail in a very few specific scenarios, therefore I'd like to have the below posting and this one removed. The below since it is actually unusable (I will post the corrected version as soon as I have it up and running) since it will calculate wrong values in cases where the month February is involved. In that case, either the years are calculated incorrectly or there is a difference in the calculated months a/o days. Please remove, thanks and sorry for the inconvenience. I will repost the corrected version asap. Regards Carsten ---- Server IP: 69.147.83.197 Probable Submitter: 87.79.236.9 ---- Manual Page -- http://www.php.net/manual/en/ref.datetime.php Edit -- https://master.php.net/note/edit/77293 Del: integrated -- https://master.php.net/note/delete/77293/integrated Del: useless -- https://master.php.net/note/delete/77293/useless Del: bad code -- https://master.php.net/note/delete/77293/bad+code Del: spam -- https://master.php.net/note/delete/77293/spam Del: non-english -- https://master.php.net/note/delete/77293/non-english Del: in docs -- https://master.php.net/note/delete/77293/in+docs Del: other reasons-- https://master.php.net/note/delete/77293 Reject -- https://master.php.net/note/reject/77293 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129725) next »