Does anybody know how did Facebook do that "time ago". I\'m trying to do the same with PHP/Javascript
I think it works something like PHP renders timestamp in H
Here's another fully-customizable alternative: https://github.com/layam/js_humanized_time_span