Working with website through script

Hi all
I want to change theme of the page in notion if it’s late or early through script. For example - if it’s 9PM i want the dark theme, if it’s 10AM ligth theme(it’s called appearance in settings)
But i have no idea how to do something like this. Do you know how can i do it, ideas or examples?

I’m not familiar with Notion, but are all your users in the same time zone as your web server?

1 Like

Notion is simply note web app(, actually very useful!