Writing a PHP function that converts UK date to relative time
<p>What would be the best way of converting UK date and time in the format:</p>

<p><code>30/01/2013 13:30:06</code>                </p>

<p>which is <strong>d/m/Y H:i:s</strong> in PHP noation to relative time (i.e. just now, few minutes ago, 30 minutes ago, 3 hours ago, 1 day ago.. and so on). I've seen several tutorials on the subject but they all revolve around creating functions without any clear explanations. I would appreciate some assistance on the matter.</p>
