How To Make Image Handle Adornment Night System

hello, I am trying to make a day and night cycle but when the time of day hits around 18 the run resets but there is a image handle adornment that covers the sun with a moon texture to replicate night. I am doing this so I can use the run rays as moon rays at night as well as to create a better night atmosphere. I am not sure how I would go about doing this as I am not sure to make it so every other “day cycle” would be considered night a swell as having the make moon perfectly align with the speed and position of the sun. Does anybody have an idea of how i would write this script. Anything helps!