I´m trying to compare time using the next code

fec = Now
Select Case fec
Case Is > #8:29:00 AM# And fec < #9:01:00 AM#
-----------------
----------------
Case Is > #9:00:00 AM# And fec < #1:51:00 PM#

For example at the time I test this code the variable fec =

Watch : : fec : 28/10/00 02:07:34 p.m. : Date :

and the firt CASE take it as if (fec) was in that range I also use:

fec = Now
Select Case fec
Case #8:29:00 AM# TO #9:01:00 AM#
-----------------
----------------
Case #9:00:00 AM# TO #1:51:00 PM#

but it din´t work either.

Any ideas.

Thanks...