Re: Re: Diff between 2 date
| From: | Nandar | Date: | Fri, 06 Oct 2006 04:00:09 +0000 |
| Subject: | Re: Re: Diff between 2 date | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42493@lists.php.net to get a copy of this message | ||
the problem is DATEDIFF command available in MySQL ver 4.1.1 above
----- Original Message -----
From: "Roby -" <chien_ye@yahoo.com>
To: <php-db@lists.php.net>
Sent: Friday, October 06, 2006 10:44 AM
Subject: [PHP-DB] Re: Diff between 2 date
> Using SQL statement: datediff, example:
> SELECT datediff( day, '2006-10-05', '2006-10-06' )
>
> Hope it helps you ;-)
>
>
> ---------------------------------
> All-new Yahoo! Mail - Fire up a more powerful email and get things done
> faster.
>
----------------------------------------------------------------------------
----
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.13.0/464 - Release Date: 10/5/2006