Please enable JavaScript to view this site.

 

int = PlanetLongitude(nDate, nTimeOfDay, nPlanetID, nMoonSourceIndex)

 

This macro function returns the longitude angle of planet PlanetID on the date nDate at nTimeOfDay for the moon data source of position nMoonSourceIndex.

 

The allowed values for nPlanetID range from n_MERCURY to n_PLUTO.

The function returns 10000 times the longitude angle (a result of 27825486 would mean 278.25486 degrees).

The parameter nTimeOfDay should be supplied in one millionth of a day (less than 1/10th of a second), using the function MillionFromHMS to avoid any error.

 

See also: planetary macro functions.

 


Topic 180010, last updated on 18-Apr-2020