Javascript Pretty Date

John wrote a superb JS function to convert a datetime to a “time ago” format. Yes indeed the serverside can do this for you but it might come in handy when – for example- parsing an RSS feed (over XHR) through JS :)


Leave a Reply

Your email address will not be published. Required fields are marked *