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
Why don't you create two DateTime objects and compare these?
Like:
$A = new DateTime();
$A->setTimestamp(strtotime($time));
$B = new DateTime();
$B->setTimestamp(strtotime($Max_Time));
if ($A > $B) echo "You use if statements to compare"