The example below shows how to write a condition to determine whether all tests were done in the morning.

1. Create an Calculated Value attribute for the episode time using the primary attribute Episode_Date_Time. The expression is: Episode_Date_Time as time

2. The new Calculated Value attribute is called Episode_Timein the screen below

3. You can now build a rule to determine whether the episode occurred in the morning or not, using the expression minutes at Episode_Time.

4. The complete condition shown in the example is 480 < minutes at Episode_Time < 660 which will be true if the episode time is between 8am and 11am.