if ($current_time - $oldtime > 43200) { print "There is > 12 hour difference\n"; }