i need to compare date and time in php/mysql basically i have an application and a server the application needs to connect to the server to check new entries into the databa
Just comparing two timestamps would suffice:
$t1 = strtotime($time); $t2 = strtotime($Max_Time); if($t1 > $t2) { .. }