Re: [PHP] Has anyone written such a function?

2002-03-31 Thread Rouvas Stathis
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

[PHP] Has anyone written such a function?

2002-03-30 Thread Boaz Yahav
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