Re: Calculating difference between two days

From: Date: Thu, 15 Jun 2006 13:06:57 +0000
Subject: Re: Calculating difference between two days
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-238084@lists.php.net to get a copy of this message
Thanks Ted. Very helpfull. -afan > On Wed, June 14, 2006 11:45 am, afan@afan.net wrote: >> I need to calculate no. of days between two dates, actually between >> date stored in DB and today's date. > > If you want to do this via mysql, see: > > < qeæ¡%¼ªÜ‘ > •º¯øËhttp://dev.mysql.com/doc/refman/5.0/en/date-and-time-type-overview.html> > > <http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html> > > for php, you might review: > > http://www.weberdev.com/get_example-4354.html > http://www.weberdev.com/get_example-3646.html > http://www.weberdev.com/get_example-4330.html > > tedd > > > -- > ------------------------------------------------------------------------------------ > http://sperling.com > http://ancientstones.com http://earthstones.comà{ > {FUß^:ÉqÞŸúÒ >

« previous php.general (#238084) next »