Re: Has anyone written such a function?
| From: | Rouvas Stathis | Date: | Sun, 31 Mar 2002 19:44:34 +0000 |
| Subject: | Re: Has anyone written such a function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90893@lists.php.net to get a copy of this message | ||
See attached file.
-Stathis.
Boaz Yahav wrote:
>
> 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.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php