Hi
Let's see I have a filter, it gives you fromTime and endTime.
and I have 4 time point which is: 00:00, 9:00, 13:00, 17:00
The text number I give to those block as "00","09","13","17",
now, base on the filter's fromTime and endTime, if my fromTime = 00:00 and endTime is null, it should return me {"00","09","13","17"}.
if my fromTime = 07:00, endTime is null, it should return me {"09","13","17"},
if my fromTime = 09:20, endTime is 13:20 , it should return me {"13"},
How should I do the if condition smartly to achieve this, thanks!!!!
Discussion posts and replies are publicly visible