"Time Ago" Calculation


/ Published in: PHP
Save to your folder(s)

Accepts a UNIX timestamp, like the result of time(), and formats it into "# (days/months/etc) ago"

URL: http://css-tricks.com/snippets/php/time-ago-function/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.