Configure visible elements through star time/end time

Is there a way to set a button (or another element) can to show or hide depending the time (open hour/close hour for example). I have in my app this issue not sort out

9am to 4PM = show/yes/true
4:01pm to 5:59pm = hide/no/false
6pm to 11pm = show/yes/true
11:01pm to 8:59am = hide/no/false

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.