mi sa che questa funzione fa al caso tuo:
function DayDiff($StartDate, $StopDate)
{
// converting the dates to epoch and dividing the difference
// to the approriate days using 86400 seconds for a day
//
return (date('U', strtotime($StopDate)) - date('U', strtotime($StartDate))) / 86400; //seconds a day
}

L'ho presa dal manuale php ( http://it.php.net/date )

provala...
ciao