Create a clock from an actor rotator

I don’t like the fact the 2 are not connected (time and rotation) by adding the same value to the time aside of the rotation but it seems to work better than the solution I had before.

I tried to slow down the speed to a more realistic cycle but then the rotation of the light stops when it hits perfect 90 or -90…

Is there a problem with the addRotation?

[EDIT]
I found this about this problem:

It’s called Gimbal Lock…

[EDIT 2]
I’m trying to get rid of the Gimbal Lock issue.
Also I found the node “rotator from axis and angle” which should do exactly what I want. It works fine until angle 90° then it goes crazy in every directions…


Here the “New Rotation” output is the angle 0->360 incremented each frames.
The Clock node just does the Angle to Hours convertion and stores it.