Difference between two dates

From: Date: Thu, 27 Jan 2011 14:42:50 +0000
Subject: Difference between two dates
Groups: php.windows 
Request: Send a blank email to php-windows+get-30484@lists.php.net to get a copy of this message
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 in the hard way (i mean, keeping all the leap years and days in mind ). please suggest. prateek.

« previous php.windows (#30484) next »