Please enable JavaScript to view this site.

 

Navigation: Appendices

Moon Phase Indices

Scroll Prev Up Next More

The possible values of the indices corresponding to Moon phases are:

 

0

No moon phase of the type specified on nDate.

1

New Moon

2

Waxing Crescent

3

First Quarter

4

Waxing Gibbous

5

Full Moon

6

Waning Gibbous

7

Last quarter

8

Waning Crescent

 

The meaning of the 0 depends on the value of the parameter bUseEighths.

 

If bUseEighths is false (the usual case) then a result of 0 means that there is no occurrence of any of the quarter moon phases on the current date, but it is still possible that an eighth phase occurs on nDate, because we specifically told Q++Studio to ignore the occurrence of eighth phases.

If bUseEighths is true then a result of 0 means that there is no occurrence of any of the quarter moon and no occurrence of any of the eighth phases occurs on nDate.

 

The above indices are returned as the result of macro functions such as MoonPhaseOf and MoonPhaseAndTimeOf, as well as being used as input parameter when calling functions such as MoonPhaseName and MoonPhaseSymbol.