Here's a system I prototyped in Unreal Engine using Blueprints to create complex, dynamic, day & night cycles. The interesting bit of that system is that the system works for any kind of planet of any kind of solar system. The idea is to build that solar system in world space first, then use inverse transforms to figure out where all the stellar bodies are located in the sky from any given point of view.
This approach has its limitations but it was a nice experiment to do. It was cool to see things like sun eclipses, moon crescents, summer and winter days and star motion work as expected (somewhat, it's not really physically acurate but close enough).
On top of that, a whole layer of controls lets you create the visual mood at any time of day with great artistic controls by customizing the colors of the sky using color and float curves.