How do i control day night cycle with time?

Hello, i am trying to make a game with a daynight cycle that is controlled by time, i followed a tutorial on how to make it work with a daylength variable, but i wanna control it with time instead, i have a clock working, i want to convert the time into sun rotation. any help is appriecated. :slight_smile:

OP with thread