Okay, to see where sun is, just check your light’s “Pitch” rotation value. If that’s positive, it means it’s nighttime. Here’s blueprint setup I used:
(Just look at bottom section, starting with “Get Actor Rotation.”) You can then make decisions based on “Night” boolean. “Night Threshold” float determines how many degrees sun must be below horizon for it to count as night.