Jump to content

Selecting data entered between yesterday 18:00 and 07:30 this morning


Ryflex

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.