$today = mktime(0, 0, 0, date("m") , date("d"), date("Y"));
$xday = mktime(0, 0, 0, $xmonth , $xday, $xyear);
echo date("d/m/y".($xday-$today);