I am a example-kind-of-guy, so I need an example to get the understanding going…
I have an icon that change color based on the condition “if todays date is later than the users input date” it changes to red.
I also want it to change to yellow if todays date is less than x days before the users input date.
How do I finish the sentence? (example in image underneath)
I also guess this second condition should be at the button, so the first one (red) fires first when the todays dates is later than the users input date.
Now…at some point you are going to think “yeah, but what about the TIME ?”
But not now … get that bit working first !
To make it quantise to DAYS rather than 24 hours … use the “Set Seconds to :0” "Set Minutes to :0 and “Set Hours to 0” for both dates. That puts then both at midnight and will flip over as the day changes.
I found the solution.
Thanks for pointing me in the right direction.
I needed to change the order of red/yellow condition & build my sentence differently.