Relative Date from Unix Timestamp with PHP
<p>I've seen a few other people talking about relative dates, but I still haven't managed to get it working properly.</p>

<p>My script pulls a unix timestamp from a MySQL database and I would like the it to display something like this:</p>

<blockquote>
  <p>2 minutes ago<br>
  16 hours ago<br>
  On Tuesday 10th November at 7pm</p>
</blockquote>

<p>Thanks to anyone who can help.</p>
