post_date; $t2=date("Y-m-d H:i:s"); $diff=(strtotime($t2)-strtotime($t1))/18000; if($diff<24){ echo "new"; } ?>