Re: Calculating difference between two days
| From: | tedd | Date: | Thu, 15 Jun 2006 11:45:20 +0000 |
| Subject: | Re: Calculating difference between two days | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238072@lists.php.net to get a copy of this message | ||
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:
<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