note 57819 deleted from ref.datetime by felipe

From: Date: Mon, 10 Dec 2007 17:47:12 +0000
Subject: note 57819 deleted from ref.datetime by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133202@lists.php.net to get a copy of this message
Note Submitter: cupidomind at yahoo dot fr ---- Hi I just want to say thanks a lot to the man who wrote a solution about a problem of the date-difference. /*A much easier way to do days diff is to use Julian Days from the Calendar functions: $start = gregoriantojd($smon, $sday, $syear); $end = gregoriantojd($emon, $eday, $eyear); $daysdiff = $end - $start; You can see the obvious ways to wrap a function around that.*/

« previous php.notes (#133202) next »