Please enable JavaScript to view this site.

 

int = ZodiacOf(nDate, nSunDataSourceIndex, bEveryday)

 

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

 

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 possible values returned by this function correspond to the table below.

 

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

 

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

 

See also: MoonZodiacSignOf.

 


Topic 177495, last updated on 18-Apr-2020