I'm going to sound like such a noob, but basically all I would like to achieve is a script which would automatically refresh, as to speak, the time something was posted. For example;
<div id="update" data-time="2012-08-16 20:48:11">Posted 12 secs ago</div>
*then, 12 seconds later*
<div id="update" data-time="2012-08-16 20:48:11">Posted 24 secs ago</div>
It doesn't have to be formatted like that, it was just an example I thought I could use.
I would prefer not to use an external plugin for this task also I wouldn't just like it in seconds, I would prefer it to be like "x secs" then when it had reached 60 seconds turn into "x mins" etc.
You'd be helping me out a lot if I could have a response, whether its just a link to point me in the right direction or a section of code I could use. Thank you :)