0

While I've created a real-time feed for a project I'm working on, I have yet to find an effective script for quickly calculating Minutes, Hours, Days, Months since a feed story was published based on a unix timestamp. Anybody have any ideas?

Below is an image of the feed clock I'm referencing: twitter feed clock

Nick ONeill
  • 7,341
  • 10
  • 47
  • 61
  • See this question http://stackoverflow.com/q/11/439187 I know it is not javascript but perhaps the answer's logic could help you, this is why I answered in a comment not as an answer. – LD7 Jun 30 '11 at 15:43

1 Answers1

2

This is a nice little plugin, use it myself.

http://timeago.yarp.com/

PaulM
  • 3,281
  • 3
  • 28
  • 38