Re: Calculating difference between two days

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux