$time_1= '2008-02-03';ide
$time_2 = '2008-02-08';it
$array = split('-',$time_1);class
$array_2 = split('-',$time_2);date
//print_r($array);im
$seconds_2 = mktime(0,0,0,$array_2[1],$array_2[2],$array_2[0]);di
$seconds = mktime(0,0,0,$array[1],$array[2],$array[0]);view
echo ($seconds_2-$seconds)/3600/24;vi
$times = mktime(0,0,0,12,52,2001)-mktime(0,0,0,12,36,2001);co
//echo $times /3600/24;360
//$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));