This template requires one parameter and returns the approximate Gregorian calendar dates when the Sun is in the IAU constellation indicated by the parameter. The chief reason the date is approximate is because the calendar is only approximately aligned to the equinoxes and solstices by means of leap years. Also, Shapiro does not indicate what time zone these dates are most appropriate for.

There is one unnamed parameter, which must be an integer from 0 to 12. The parameter was chosen to be compatible with an earlier version of this template and has no meaning outside this template.

Parameter Sign Dates
0 Aries 19 April – 13 May
1 Taurus 14 May – 19 June
2 Gemini 20 June – 20 July
3 Cancer 21 July – 9 August
4 Leo 10 August – 15 September
5 Virgo 16 September – 30 October
6 Libra 31 October – 22 November
7 Scorpius 23 November – 29 November
8 Ophiuchus 30 November – 17 December
9 Sagittarius 18 December – 18 January
10 Capricornus 19 January – 15 February
11 Aquarius 16 February – 11 March
12 Pisces 12 March – 18 April

Bibliography

edit

Shapiro, Lee T. "Constellations in the Zodiac." NASA. Last modified 27 April 2011. (Via Wayback Machine.)