Hiya.
Tried searching google with no luck on this one.
I'd like a function that when passed a time will spit back in plain
english how much time has passed.
i.e.
You logged in "one hour ago".
<?php
echo "You logged in ".timepassed('2002-08-05 11:24:52').".";
?>
Anyone got da hookup?
Thanks,
Chris.
p.s. Now with signature!
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php