Is there a lib to convert timestamp into time offset
<p>I am looking for a javascript library that takes unix timestamp string as an input and converts it to something like '5 minutes ago', '3 days ago', etc...</p>

<p>The purpose is to display time difference of the forum post but I don't want to apply this logic in the php script on the server, I want to send the data just how it's stored in database and let the client do this extra work.</p>

<p>Does anybody know if class of function exists in any js library for this?</p>
