php check if time is less than the current time $date_now = new DateTime(); $date2 = new DateTime("01/02/2016"); if ($date_now < $date2) { echo 'less than'; }else{ echo 'greater than'; } PHP check if time is greater than the current
php check if time is less than the current time $date_now = new DateTime(); $date2 = new DateTime("01/02/2016"); if ($date_now < $date2) { echo 'less than'; }else{ echo 'greater than'; } PHP check if time is greater than the current
Begin typing your search above and press enter to search. Press ESC to cancel.