int = SeasonOf(nDate, nSunDataSourceIndex, bEveryday)
This macro function returns a value from 0 to 4 depending on the Season on the date nDate, for the Sun data source of index nSunDataSourceIndex.
➢The returned values use Northern Hemisphere season numbering: 1 = Spring, 2 = Summer, 3 = Fall, and 4 = Winter. This numbering is unchanged for Sun data sources in the Southern Hemisphere.
The parameter bEveryday specifies if the function should give a result corresponding to the season in progress every day (bEveryday = true), or only on dates when there is a change of season (bEveryday = false).
The possible values returned by this function correspond to:
0 |
No change of season on nDate (only possible if bEveryday is false). |
1 |
Spring |
2 |
Summer |
3 |
Fall |
4 |
Winter |
See also: SunLongitudeAngle, ZodiacSignOf.
Topic 177500, last updated on 11-Oct-2026