Users sometimes send me messages reporting errors, then I ask them to refresh the page and the app returns to work. So I created an alert to request that the user refresh the browser using this formula:
alert.Visible:
If(
DateDiff(login_date,Now(),Hours) >= 2,
true,
false
)
The formula works, but only when I'm editing, I did tests with datediff in minutes and the label is not visible, would anyone know how to proceed?