Jump to content

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


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.