Template:Calendar difference
-2
This template gives the difference between the Julian and Gregorian calendars in days. The first parameter, the year, is mandatory. Second parameter corresponds to the month. It is not mandatory, but allows the accurate calculation of the calendar difference in secular years.
The next examples represent some calculated differences. In secular years the month parameter is need for accurate calculations.
{{Calendar difference|1700}}=11 (Wrong before Feb. 28th)
{{Calendar difference|1800}}=12 (Wrong before Feb. 28th)
{{Calendar difference|1899}}=12
{{Calendar difference|1900}}=13 (Wrong before Feb. 28th)
{{Calendar difference|2000}}=13
{{Calendar difference|2099}}=13
{{Calendar difference|2100}}=14 (Wrong before Feb. 28th)
{{Calendar difference|2100|2}}=13 (Right)
{{Calendar difference|2100|3}}=14 (Right)