Hi
All.
It must be the
weekend or something, but I have 2 times I need to do a comparison
on.
Basically I need to
know this :-
Time_A=06:59:69
Time_B=16:00:00
TimeOf_event=00:05:00
Ok, now, if I go
:- If (TimeOf_event<=Time_A) and (TimeOf_event>=Time_B) then
DoWhatEver;
Problem IS, this
needs to return TRUE because the time of the event has to be within a time
frame.
Infact, 16:00:00 is
infact the START time of where the event must happen, and 06:59:59 is the FINISH
time the event must happen before.
This is rolling over
a day, so the above will never return TRUE.
How can I compare
the 2 times like this to get a TRUE rather than FALSE ?
I hope this is clear
enough :-)
Cheers,
Jeremy
Coulter
------------------------------------------------------------------------
All email scanned with Nortons Antivirus
2003
------------------------------------------------------------------------