How to check three possible dates/conditions?

Hello, I’m trying to figure out how to add conditions to do this:

My users will be able to select a date & time from a date picker.

I want to perform 3 possible actions depending on these conditions:

Possibility A: The date selected is the same current day but LESS 17:29:59

Possibility B: The date selected is the same current day but HIGHER 17:29:59

Possibility C: The date selected is not the same current day.

I have been able to do option A:

I have added this condition to try complete B/C but it runs for both possibilities:

Any ideas?

I could be wrong, but I don’t think your first condition is making sure the selected date is the current day. Wouldn’t that condition also be true if a previous date is selected? Also, if you are saying the second condition evaluates to true for possibilities B and C, I can see how that could be the case.

I’m not sure if this will help, but check out the following images and see if they make sense. The first two conditions explicitly evaluate if the current day has been selected and then they evaluate the time of day. The third condition explicitly evaluates that the selected day is not the current day.

Possibility A:
Possibility B:
Possibility C:

Do you think something like that could work for you?


This topic was automatically closed after 70 days. New replies are no longer allowed.