GetJulianDay


Kløpulver for hjernecellerne

     
 

 
GetJulianDay property
GetJulianDay gets the day number in a numbering system that starts on January 1st, -4712 at noon, which is Julian day No. 1.

SolarPlexus.SetInput may be called in advance to set the input values for date etc., but GetJulianDay can work independently from this.

Syntax

JulianDay = SolarPlexus.GetJulianDay(Year, Month, Day, Timezone [, Hour, Minute, Second, FirstGregorianDate])

Commas are set between parameters even if they are empty.

 

JulianDay Return value. Double. Is a day number in a numbering system that starts on January 1st, -4712 at noon, which is Julian day No. 1. The day number is presented as a decimal numeral, where the day number is written before the decimal point, and decimal fractions of the day after. Example: 2380414.1474537 equals April 2nd, 1805, at 16h 32m 20s.
Year Input value. Required. Integer. The year in question -4712 - 9999
Month Input value. Required. Integer. The month in question 1-12
Day Input value. Required. Integer. The Day in question 1-31
Timezone Input value. Required. Variant. Sets the timezone in hours. West of Greenwich negative.
Hour Input value. Optional. Integer. The hour of the day 0-23. Default=12
Minute Input value. Optional. Integer. The minute of the hour 0-59. Default=0
Second Input value. Optional. Integer. The second of the minute 0-59. Default=0
FirstGregorianDate Input value. Optional. String. Sets the date for the first day in the Gregorian Calendar as a date. Default="15-10-1582". Inputting another date will work UNLESS Solarplexus.Setinput has been called in advance. If the latter is the case the SolarPlexus FirstGregoranDate will be in force.