Want the opacity to change per hour

I need help with a formula, I want the opacity of something to be %100 from 5am to 8pm, and at 0% the other hours of the day. What is the formula for that?
Thank you for your help!

Welcome to this forum. Please try to use conditional timeline. Using timeline you can achieve this. You can check this timeline Apply Conditional Lines on Watch Faces | Samsung Developers code lab for more about timeline operations.