Template:JULIANDAY.MONTH
Appearance
This template takes a Julian day number and returns the associated month number within the Gregorian calendar.
- Computing formula (partially indented) :
- For more information about how this formula works, see w:en:Julian day.
{{#expr: ((((( ({{{1}}}) +32044 round 0)mod 146097+36524- ((( ({{{1}}}) +32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*36524 )mod 1461- (((( ({{{1}}}) +32044 round 0)mod 146097+36524- ((( ({{{1}}}) +32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*36524 )mod 1461/365+0.5 round 0)*3/4+0.5 round 0)*365+365)*5+308)/153-0.5 round 0)mod 12+1 }}
- Examples with a non-leap secular year (of rank 3) :
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 1| 1}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 1|31}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 2| 1}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 2|28}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 3| 1}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 3|31}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 4| 1}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 4|30}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 5| 1}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 5|31}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 6| 1}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 6|30}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 7| 1}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 7|31}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 8| 1}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 8|31}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 9| 1}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900| 9|30}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900|10| 1}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900|10|31}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900|11| 1}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900|11|30}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900|12| 1}}}} = "12".
- {{JULIANDAY.MONTH|{{JULIANDAY|1900|12|31}}}} = "12".
- Examples with a leap secular year (of rank 4) :
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 1| 1}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 1|31}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 2| 1}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 2|29}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 3| 1}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 3|31}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 4| 1}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 4|30}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 5| 1}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 5|31}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 6| 1}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 6|30}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 7| 1}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 7|31}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 8| 1}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 8|31}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 9| 1}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000| 9|30}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000|10| 1}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000|10|31}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000|11| 1}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000|11|30}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000|12| 1}}}} = "12".
- {{JULIANDAY.MONTH|{{JULIANDAY|2000|12|31}}}} = "12".
- Examples with a non-leap non-secular year (of rank 1) :
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 1| 1}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 1|31}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 2| 1}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 2|28}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 3| 1}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 3|31}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 4| 1}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 4|30}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 5| 1}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 5|31}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 6| 1}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 6|30}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 7| 1}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 7|31}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 8| 1}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 8|31}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 9| 1}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001| 9|30}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001|10| 1}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001|10|31}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001|11| 1}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001|11|30}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001|12| 1}}}} = "12".
- {{JULIANDAY.MONTH|{{JULIANDAY|2001|12|31}}}} = "12".
- Examples with a non-leap non-secular year (of rank 2) :
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 1| 1}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 1|31}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 2| 1}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 2|28}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 3| 1}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 3|31}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 4| 1}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 4|30}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 5| 1}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 5|31}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 6| 1}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 6|30}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 7| 1}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 7|31}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 8| 1}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 8|31}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 9| 1}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002| 9|30}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002|10| 1}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002|10|31}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002|11| 1}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002|11|30}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002|12| 1}}}} = "12".
- {{JULIANDAY.MONTH|{{JULIANDAY|2002|12|31}}}} = "12".
- Examples with a non-leap non-secular year (of rank 3) :
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 1| 1}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 1|31}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 2| 1}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 2|28}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 3| 1}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 3|31}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 4| 1}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 4|30}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 5| 1}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 5|31}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 6| 1}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 6|30}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 7| 1}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 7|31}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 8| 1}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 8|31}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 9| 1}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003| 9|30}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003|10| 1}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003|10|31}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003|11| 1}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003|11|30}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003|12| 1}}}} = "12".
- {{JULIANDAY.MONTH|{{JULIANDAY|2003|12|31}}}} = "12".
- Examples with a non-leap non-secular year (of rank 4) :
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 1| 1}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 1|31}}}} = "1".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 2| 1}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 2|29}}}} = "2".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 3| 1}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 3|31}}}} = "3".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 4| 1}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 4|30}}}} = "4".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 5| 1}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 5|31}}}} = "5".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 6| 1}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 6|30}}}} = "6".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 7| 1}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 7|31}}}} = "7".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 8| 1}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 8|31}}}} = "8".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 9| 1}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004| 9|30}}}} = "9".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004|10| 1}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004|10|31}}}} = "10".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004|11| 1}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004|11|30}}}} = "11".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004|12| 1}}}} = "12".
- {{JULIANDAY.MONTH|{{JULIANDAY|2004|12|31}}}} = "12".
- See also :
- Template:JULIANDAY.DAY
- Template:JULIANDAY.MONTHNAME
- Template:JULIANDAY.MONTHABBREV
- Template:JULIANDAY.YEAR
- Template:JULIANDAY
- Template:Weekday
From en:Template:JULIANDAY.MONTH.
See also fr:Template:JULIANDAY.MONTH.