<?php $time = '2014-03-7 15:14'; $chk_date = '2014-03-07 15:14'; if(strtotime($time) == strtotime($chk_date)){ echo 'hola'; }else{ echo 'hello'; }
You have javascript disabled. You will not be able to edit any code.