I have been trying multiple solutions and couldn't get the exact answer. Finally I got simplest and easiest solution. Hope this helps others too.
http://www.samantsingh.com/blogs/post/how-to-format-time-since-xxx-e-g-2-minutes-ago-/
I have been trying multiple solutions and couldn't get the exact answer. Finally I got simplest and easiest solution. Hope this helps others too.
http://www.samantsingh.com/blogs/post/how-to-format-time-since-xxx-e-g-2-minutes-ago-/