I want to control a Patch to make sure it only happens at a range of local times. I want something to only happen between 3:00 PM and 3:25 PM. One really hacky method I came up with is this:
If(DateDiff(Today(), Now(), Minutes) > 900 And DateDiff(Today(), Now(), Minutes) < 825,
Patch (...)
)
This would trigger when someone presses a button. However it would be great to have it auto trigger visible or not. I am worried this won't work since this won't be evaluated expcet on app start. Any suggestions?