Please enable JavaScript to view this site.

 

int = MoonZodiacSignOf(nDate, nTimeTimesMillion, bEveryday, nMoonDataSourceIndex)

 

This macro function returns a value from 0 to 12 depending on the Zodiac sign in which the Moon is, on the date nDate, for the Moon data source of index nMoonDataSourceIndex.

 

The possible values returned by this function correspond to the table here.

 

0

No change of Zodiac sign on nDate

(only possible if bEveryday is false).

1

Aries


7

Libra

2

Taurus


8

Scorpio

3

Gemini


9

Sagittarius

4

Cancer


10

Capricorn

5

Leo


11

Aquarius

6

Virgo


12

Pisces

 

The parameter bEveryday specifies if the function should give a result corresponding to the current Zodiac sign every day (bEveryday = true), or only on dates when there is a change of Zodiac sign (bEveryday = false).

 

The parameter nTimeTimesMillion specifies the time of day in millionths of a day. Use the macro function MillionFromHMS to construct this value: MillionFromHMS(0,0,0) for midnight, MillionFromHMS(12,0,0) for noon, or MillionFromHMS(23,59,59) for the end of the day.

 

See also: ZodiacSignOf.

 


Topic 179845, last updated on 11-Oct-2026