On Apr 12, 2005 2:33 PM, J J <squid_66@xxxxxxxxx> 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php