in reply to Re^2: Seeing if a Time is Within a Range
in thread Seeing if a Time is Within a Range

You are absolutely right! Just a side note, if you use SQL between operator, you have to be aware that the values specified after the BETWEEN operator are inclusive. So if you say:

select first_name, last_name, credit_limit from customer where credit_limit between 500 and 800

The result set will include those ones with credit limit equal to 500 or 800. If you want to exclude those people, you have to write a query like this:

select first_name, last_name, credit_limit from customer where credit_limit > 500 and credit_limit < 800