note 80361 deleted from ref.datetime by danbrown

From: Date: Sun, 20 Jul 2008 02:19:51 +0000
Subject: note 80361 deleted from ref.datetime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141951@lists.php.net to get a copy of this message
Note Submitter: Dave Laurier ---- Hi baroto, You are right, I see what you mean. I do not know how to explain what I was expecting but I figure the results do make sense. I am sorry for any confusion that I may have caused. Actually, I can give it a try. What I expected is that all of the ..._total variables would return the total amounts so (months = 12 * years + number of single months) and the variables like years, months and days would return the amounts of full years, full months and full days (within this month not taking into account any days between last months date and this date). But looking at the code that expectation does not make sense and indeed the code and the results are fine. Thanks and once more stoicnluv thanks for your code! Dave

« previous php.notes (#141951) next »