$time_1= '2008-02-03';

$time_2 = '2008-02-08';

$array = split('-',$time_1);

$array_2 = split('-',$time_2);

//print_r($array);


$seconds_2 = mktime(0,0,0,$array_2[1],$array_2[2],$array_2[0]);

$seconds = mktime(0,0,0,$array[1],$array[2],$array[0]);

echo ($seconds_2-$seconds)/3600/24;


 


$times = mktime(0,0,0,12,52,2001)-mktime(0,0,0,12,36,2001);

//echo $times /3600/24;


//$times = gmdate("M d Y", mktime(now));

//echo $times;



echo date("M-d-Y", mktime(0, 0, 0, 12, 32, 1997));

echo date("M-d-Y", mktime(0, 0, 0, 13, 1, 1997));

echo date("M-d-Y", mktime(0, 0, 0, 1, 1, 1998));

echo date("M-d-Y", mktime(0, 0, 0, 1, 1, 98));