Hi all,
I need to find a solution for Power Apps to make different decisions/actions dependent on Today's date.
Eg:
If it's between dd/mm/yyyy and dd/mm/yyyy, do THIS,
If it's between dd/mm/yyyy and dd/mm/yyyy, do THIS2,
If it's between dd/mm/yyyy and dd/mm/yyyy, do THIS3,
I tried using the 'Greater than' and 'Less than' symbols, but it's not adding up properly and hoping someone can find out why or offer another solution.
The statements used so far have been:
If((18/01/2025)<((DateValue(Today()), "Yes", "No")
(Works: Prints "Yes")
If((DateValue(Today()))<(25/01/2025),"Yes","No")
(Wrong: Prints "No")
I think this is also having an effect on other formulas that include it, as I also tried the combined formula:
If((18/01/2025)<(DateValue(Today()))<(25/01/2025),"Yes","No"))
and that doesn't work either.
(Comes out as an error, but the date is 20/01/2025, which is after 18/01/2025 and before 25/01/2025)
I even replaced the formulas with basic numbers to make sure I hadn't just muddled up the symbols or anything: It didn't help. The formulas worked fine with numbers, but not with dates.
Am I missing something?