GetSunTransit


Kløpulver for hjernecellerne

     
 

 
GetSunTransit property
GetSunTransit gets the hours of the culmination of the sun.

SolarPlexus.SetInput must be called in advance to set the input values for date, place on earth etc.

Syntax

DecHours = SolarPlexus.GetSunTransit(Hours)

 

DecHours Return value. Double. Sun transit returned as decimal numeral with hours before the decimal point, and decimal fractions af hours after. Example: 12.343242
Hours Return value. String. Sun transit returned as a string with the format "hh:mm:ss.ff", where hh=hours, mm=minutes, ss=seconds, and ff=fractions of seconds. Example: "12:20:35.67" (which equals 12.343242)
In some places on earth, and in some time of the year, the sun never rises, or never sets. In that case the following are returned:
DecHours In the northern hemisphere, and in summertime, 24 is returned.
In the northern hemisphere, and in wintertime, 0 is returned.
In the southern hemisphere, and in wintertime, 0 is returned.
In the southern hemisphere, and in summertime, 24 is returned.
Hours The string "     " (five spaces) is returned.