date / time convert to time since php

Posted by Webby on Stack Overflow See other posts from Stack Overflow or by Webby
Published on 2010-06-01T18:43:25Z Indexed on 2010/06/01 18:43 UTC
Read the original article Hit count: 197

Filed under:
|
|

Hello in my database date / time are stored in this format

2010-06-01T18:20:25+0000

I'd like to echo that out to time passed since that date / time

e.g.

2 minutes ago or 2 days ago

is this possible?

© Stack Overflow or respective owner

Related posts about php

Related posts about date