Convert timestamp to relative time in php

4

The simplest way to convert timestamp to relative time (time ago) in php. Display date timestamps as 5 minutes ago, 5 hours ago, 1 day ago, 6 months ago or 1 year ago.

Read this post on idiotinside.com


Suresh

blogs from Chennai