How would I change the TimeOfDay with a numbervalue?

So again with my DMC Delorean which you can see in my other post, I want it to be able to change the TimeOfDay. What I did was add two extra buttons: + button adds 1 to a NumberValue, the 0 clears and changes the NumberValue to 0.
I don’t understand why the TimeOfDay won’t change when I do this?
image
There are no errors in output and the script acts as if that line of code wasn’t even there.
My goal is to make it so when this script runs, the TimeOfDay will become whatever is in the Value of the NumberValue.

Flipped it around and changed TimeOfDay to ClockTime.

I recommend using GetMinutesAfterMidnight() and SetMinutesAfterMidnight() for time.