RE: [PHP] Re: Date/Time Query Help
| From: | Shrout, Ryan | Date: | Tue, 24 Jul 2001 19:44:43 +0000 |
| Subject: | RE: [PHP] Re: Date/Time Query Help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-59414@lists.php.net to get a copy of this message | ||
Heh. :)
So, does anyone know what I am doing wrong?
Ryan Shrout
-----Original Message-----
From: bopolissimus@sni.ph [mailto:bopolissimus@sni.ph]
Sent: Tuesday, July 24, 2001 3:34 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: Date/Time Query Help
On Tue, 24 Jul 2001 15:23:10 -0400, Rshrout@krauss-maffeicorp.com
(Ryan Shrout) wrote:
>Think of it this way:
>
>WHERE session.Date > DATE_SUB(NOW(), INTERVAL 1 HOUR) is equal to:
>
>WHERE 2001-07-24 15:03:24 > SUBTRACTION( 2001-07-24 15:30:21, 00:01:00) =
>WHERE 2001-07-24 15:03:24 > 2001-07-24 14:30:21
>
>That seems right now, but it doesn't work
DATE_SUB. heh. that'll teach me not to read the whole
post and THINK about it :).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net