I used ChatGPT to create the code snippet below because I work with clients all over the world, and sometimes they are asleep when I’m awake, and of course, vice versa. I used to work insane hours, and with a home office, the temptation to stay at your desk in the evening “catching up” or doing more work is always there.
However, I made a conscious decision some years ago to stop working by 6:00–6:30 PM and to put my phone away as well. So this is the local time.