How can you control heightfog, atmosphere parameters based on sun rotation?

I have a simple day/night cycle blueprint and I would like to control some parameters based on the suns rotation or ‘time of day’. Heres an example.

Heres a screenshot of my setup.