"Time between" in RM -- are the start and/or end minute included?

In the RM, where and if condition is used with "Time between" AA1:BB1( HH:mm" ) and CC1:DD1( HH:mm" )
is DD1 included or not ?
for example if 12:00 AM to 8:00 AM, then will this condition be true from 12:00 AM to 7:59:59 AM or 8:00:59 AM ?

Could someone please let me know..
cause I have an if , elseif condition where currently I have first if as between
12:00 AM and 8:00 AM
and ELSEIF as 8:01 AM to 10:00 PM
and 10:01 PM to 11:59 PM

Just want to make sure one of the branches will be evaluated between 8:00:01 to 8:00:59, etc.
Thanks

Here are some examples that may be helpful
For a time range: "Time between 1:00 and 2:00" will be True from 1:00:00 until 1:59:59.999
For a certain time: "Time is 1:00" will be True from 1:00:00 until 1:00:59.999

@nrm94ee330 Here's how I would write the conditional logic


IF (Time between 12:00 AM and 8:00 AM) THEN
    Do stuff...
ELSE-IF (Time between 8:00 AM and 10:00 PM) THEN
    Do other stuff...
ELSE
    Still other stuff to do...
END-IF
1 Like

Thank you very much for your help and clarification