Hi! I'm using an app to know if I have an appointment on my calendar.
I used a gallery to get all the appointments and I'm even able to filter them by month and location wich is great.
Now the problem starts when I try to compare dates.
Ideally I have X amount of squares that set their fill color to red or green if I have the day free or not.
So I used this:
If(DateValue("5/" & Meses.SelectedText.Value & "/2019") in Concat(Gallery2.AllItems.Label3;Text(Label3);", ") ;Red ;Green )The thing is, I had to use text since I need to have ALL the dates of X month and X location concatenated in a single record to be able to compare. The problem is that 5/10/2019 is in 15/10/2019 so it gives me a "false" true result.
If I try to use date values and not text I won't work either since I'm using the start property of the appointment to compare to a date and the start one has hours,minutes and seconds wich doesn't match with the manual date I put in.
If I would be able to make text compare char by char I think that it will work, or if I'm able to save dates without time stamps.