Thanks Ted. Very helpfull. -afan > On Wed, June 14, 2006 11:45 am, afan@xxxxxxxx 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: > > <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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php