This should do what you need:
if (($time1-$time2) == 86400) {
// Exactly 24 hours have passed.
}
3
solved Comparing timestamps in PHP
This should do what you need:
if (($time1-$time2) == 86400) {
// Exactly 24 hours have passed.
}
3
solved Comparing timestamps in PHP