Hi all
I'm working on an app where everything is displayed in local time apart from one thing. We have a line of code that acts as a cut off.
Set(vCutOffEdit, If(Hour(Now()) < 13, DateAdd(Now(), -25, TimeUnit.Hours), Today() + Time(13, 0, 0)));
For all other statements, we want the users of the app to use local time but this cut off must be applied to UK time. I feel like the whole statement from the If needs to be wrapped in some kind of conversion but am drawing a blank how to do this - of course I could be wrong).
I've looked for functions etc but cannot work out how to action this as UK time. Of course, there is the added complication that the UK has British Summertime.
Any help would be appreciated 🙂