Navigation:  Macros > Macro Language > Built-in Functions > All Functions (Alphabetical) >


Previous pageReturn to chapter overviewNext page

int = MoonPhaseAngle(nDate, nCalcTimeOption, nMoonDataSourceIndex)


This macro function returns the phase angle between the Moon and the Sun, immediately after midnight, on the date nDate, for the Moon data source of index nMoonDataSourceIndex. The result is an integer of the angle multiplied by 10000 (that is to say, a result of 27825486 would mean 278.25486).


Note that the result of this function are affected by the Moon data source you have selected for the current script.


See also: MoonLongitudeAngle, MoonPhaseOf, MoonPhaseAndTimeOf.

Topic 179855 updated on 25-Oct-2016.
Topic URL: