Change characters according to local time

I want to change roles as the real time changes, for example, switch to role 1 from 8 am to 8 pm, and switch to role 2 at other times, but I found only clocks on the Internet, there is no other similar

Hi and welcome here :slight_smile:
Have you tried Time(hour) ?