<?php $row2['post_date'] = "2013-10-02 10:00:00"; $now = new DateTime(); $post = new DateTime($row2['post_date']); $interval = $now->diff($post); $hours = $interval->h + ($interval->format("%a") * 24); echo "Updated $hours hours ago";
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`