Re: Finding records within 15 minutes from now?

From: Date: Tue, 12 Apr 2005 22:08:44 +0000
Subject: Re: Finding records within 15 minutes from now?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-212956@lists.php.net to get a copy of this message
On Apr 12, 2005 2:33 PM, J J <squid_66@yahoo.com> wrote: > I'm struggling with the php or mysql query to find > records within my database that are within 15 minutes > from now and prior. > select NOW(), DATE_ADD( NOW(), INTERVAL 15 MINUTE ); +---------------------+---------------------------------------+ | NOW() | DATE_ADD( NOW(), INTERVAL 15 MINUTE ) | +---------------------+---------------------------------------+ | 2005-04-12 17:02:33 | 2005-04-12 17:17:33 | +---------------------+---------------------------------------+ 1 row in set (0.00 sec) -- Greg Donald Zend Certified Engineer http://destiney.com/

« previous php.general (#212956) next »