Ryflex Posted August 11, 2011 Share Posted August 11, 2011 Hi all, I have a dbtable with the columns day, month, year, time, alert In the day column it's the day of the month so 1,2,3 ... 30, 31 In the month column it's 3 letters from the month so Jan, Feb, Mar ... Nov, Dec In the year column you guessed it are the years 2011 in this case. and in the time column it shows times lik 11:11:11 Every time there's an alert on a printer we push a button which inputs the alert and day, month, year and time in the table. Now I need to get out the data between 18:00:00 and 07:30:00 Example between 18:00:00 on 10 Aug 2011 and 07:30:00 on 11 Aug 2011 Can and will anyone know how this is done? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/244492-selecting-data-entered-between-yesterday-1800-and-0730-this-morning/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.