Question on isDaylight

How is the IsDaylight value derived, and what factors are typically considered in its calculation? Specifically, is it determined based on the sunrise and sunset times, or are other factors considered?

If it is based on sunrise and sunset times, is it based on Astronomical, Civil, and Nautical values? Are Weather and altitude considered as well?

Thank you,

My understanding is that it is based on sunrise and sunset times at the location. But not using weather nor altitude.

Question on isDaylight
 
 
Q