<?php $date1=“2010-12-05”; $date2=date("Y-m-d"); $d1=strtotime($Date1); $d2=strtotime($Date2); $Days=round(($d2-$d1)/3600/24); php>