Re: Date Math

From: Date: Tue, 20 Apr 2010 15:45:36 +0000
Subject: Re: Date Math
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-304249@lists.php.net to get a copy of this message
On Tue, Apr 20, 2010 at 11:40 AM, Floyd Resler <fresler@adex-intl.com>wrote: > I need to get the difference in months between two dates. The dates could > be as much as 60 months apart. Is there any easy way to do this either > through PHP or MySQL? I know how I can do it through code but thought there > might be a simple one or two line option. > > check out: http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code "NEWTHINGS" for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

« previous php.general (#304249) next »