What I am trying to do is get the total number of accounts that came in between 8:30 am and 8:00 pm and also the number that came in after 8:00pm and before 8:30 am. I assume I will need to have 2 queries written. I don't have a problem with getting the number between 8:30 am and 8:00pm. My trouble comes with trying to get the number after 8:00pm and before 8:30am. It returns incorrect value. Any help will be much appreciated.