|
Posted by Richard Davey on 04/13/05 00:58
Hello,
Tuesday, April 12, 2005, 8:33:08 PM, you wrote:
JJ> I'm struggling with the php or mysql query to find records within
JJ> my database that are within 15 minutes from now and prior.
Assuming MySQL:
SELECT * FROM blah WHERE RecordTime > DATE_SUB(now(), interval
15 min)
(something like that, going from memory here)
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov
[Back to original message]
|