$temptime = mktime(8,2,12,4,4,2014);$dt1 = date("Y-m-d",time());$dt2 = date("Y-m-d",$temptime);if($dt1==$dt2){ echo 'Y';}else{ echo 'N';}exit();