Replicating day/night cycle

Hello, so like the title says, I’m trying to create a day/night system which works, but the time is different for everyone, so its not replicated.

I’ve tried lots of different ways and simply I don’t understand what’s wrong.

How the current one works in my mind:

On Begin Play, set skysphere and lightsource to replicate if server does it.
Then set sun’s rotation to the one that has been set by server. SunY

On Event Tick, rotate the sun on the server correctly and update sun direction, then set sunY and (multicast and in there do the same thing, this was me experimenting mostly)

What am I doing wrong?