how did facebook do "time ago"

Posted by Gandalf StormCrow on Stack Overflow See other posts from Stack Overflow or by Gandalf StormCrow
Published on 2010-04-10T16:17:37Z Indexed on 2010/04/10 16:23 UTC
Read the original article Hit count: 440

Filed under:
|
|

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 html and then javascript continuously calculate the time ago, does anybody know anymore info about this?

alt text

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about php