GetDayLength


Kløpulver for hjernecellerne

     
 

 
GetDayLength property
GetDayLength gets the lenght of a given day

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

Syntax

DecHours = SolarPlexus.DayLength(Sunrise, Sunset, Hours)

 

DecHours Return value. Double. The length of the day returned as decimal numeral with hours before the decimal point, and decimal fractions af hours after. Example: 8.343242
Sunrise Input value. Required. Double. Time of sunrise as decimal numreral
Sunset Input value. Required. Double. Time of sunset as decimal numeral
Hours Return value. String. The length of the day returned as a string with the format "hh:mm:ss.ff", where hh=hours, mm=minutes, ss=seconds, and ff=fractions of seconds. Example: "08:20:35.67" (which equals 8.343242)