More advanced Sun and Moon

I’ve recently set up a day and night system, and I want to continue this by making it more advanced with things like moon etc. I’ve followed [this][1] tutorial but as you see in the end there are some problems.

  1. The moon has some problems with it’s phases -

This is meant to be at 9 o’clock at night, with a full moon.
2. I want to make the Sun and Moon have different rotations (Sometimes the sun will rise at a lower rotation for shorter days) kind of like this -

  1. I need to fix some weird sun glitches with shadows - both these photos are taken at the same time in-game -

as you can see, shadows are simulated even though there is no source of light from that direction.

I appreciate any help you can give, and thank you in advance!

Can anyone help me? I know it’s possible to fix this from the amazing AAA game made in UE4