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 🙂
A rather geeky/technical weblog, est. 2001, by Bramus
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 🙂