Re: [PHP-WIN] Difference between two dates

2011-01-27 Thread Ferenc Kovacs
On Thu, Jan 27, 2011 at 3:42 PM, Katiyar wrote: > Hello Experts, > > > I want to get the difference (say age of a person) in years, month and days > from the current date to a given date. > how can i achieve this, my server support PHP 5.20, where date interval > function (date_diff) is not avai

[PHP-WIN] Difference between two dates

2011-01-27 Thread Katiyar
Hello Experts, I want to get the difference (say age of a person) in years, month and days from the current date to a given date. how can i achieve this, my server support PHP 5.20, where date interval function (date_diff) is not available, is there is any other way, rather than calculating i

[PHP-WIN] Difference Between Two Dates

2007-05-03 Thread Phillip Terry
What's the easiest way to calculate the difference between two dates in PHP? I've seen some examples of custom functions on Google, but I was wondering if anyone here came up with another clever solution. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.