<?

 echo "날짜계산=<BR>";
 echo round((strtotime('2011-08-19') -strtotime('2011-08-17')) / (60*60*24));

?>

 

날짜계산=

2