Has anyone written such a function?

From: Date: Sat, 30 Mar 2002 14:16:04 +0000
Subject: Has anyone written such a function?
Groups: php.general 
Request: Send a blank email to php-general+get-90771@lists.php.net to get a copy of this message
Hi I need a function that will get a date in the past and return how much time has passed since that date till now. The input to the function is a MySQL DATETIME format and the output should be something like : 2 Years, 36 Days, 7 hours , 25 minutes I would write it but I'm pretty sure it has been done. thanks Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow.

« previous php.general (#90771) next »