You are here: Re: [PHP] Finding records within 15 minutes from now? « PHP « IT news, forums, messages
Re: [PHP] Finding records within 15 minutes from now?

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация