RE: [PHP] Days between two dates

From: Date: Mon, 07 May 2001 13:33:17 +0000
Subject: RE: [PHP] Days between two dates
Groups: php.general 
Request: Send a blank email to php-general+get-51737@lists.php.net to get a copy of this message
> Sorry, > it doesn't work !! Why do you say that? I just tested it and it worked. It returned: "115.31296296296" "115" being the number of days ".31296296296" is the fraction of the day that is the difference of hours between the two times. mktime() and date( "U" ) return a unix timestamp which is made up of both date _and_ time. Chris

« previous php.general (#51737) next »