Citakan:MONTHNUMBER
This template returns the cyclic integer month number (between 1 and 12) of the month whose real number is in parameter. Alternatively, the month can be given with its english name (complete or abbreviated to 3 characters, with capitals or small letters).
- Sintaks:
- {{MONTHNUMBER|month}}
- The month value is interpreted modulo 12 (extra leading zeroes are ignored, negative numbers are accepted, all numbers are rounded to floor).
- Examples for all standard English month names:
- {{MONTHNUMBER|januari}} hasilna 1
- {{MONTHNUMBER|pébruari}} hasilna 2
- {{MONTHNUMBER|maret}} hasilna 3
- {{MONTHNUMBER|april}} hasilna 4
- {{MONTHNUMBER|méi}} hasilna 5
- {{MONTHNUMBER|juni}} hasilna 6
- {{MONTHNUMBER|juli}} hasilna 7
- {{MONTHNUMBER|agustus}} hasilna 8
- {{MONTHNUMBER|séptémber}} hasilna 9
- {{MONTHNUMBER|oktober}} hasilna 10
- {{MONTHNUMBER|nopémber}} hasilna 11
- {{MONTHNUMBER|désémber}} hasilna 12
- Examples for all abbreviated English month names:
- {{MONTHNUMBER|jan}} hasilna 1
- {{MONTHNUMBER|péb}} hasilna 2
- {{MONTHNUMBER|mar}} hasilna 3
- {{MONTHNUMBER|apr}} hasilna 4
- {{MONTHNUMBER|méi}} hasilna 5
- {{MONTHNUMBER|jun}} hasilna 6
- {{MONTHNUMBER|jul}} hasilna 7
- {{MONTHNUMBER|agu}} hasilna 8
- {{MONTHNUMBER|sép}} hasilna 9
- {{MONTHNUMBER|okt}} hasilna 10
- {{MONTHNUMBER|nop}} hasilna 11
- {{MONTHNUMBER|dés}} hasilna 12
- Examples for all standard month numbers:
- {{MONTHNUMBER|1}} hasilna 1
- {{MONTHNUMBER|2}} hasilna 2
- {{MONTHNUMBER|3}} hasilna 3
- {{MONTHNUMBER|4}} hasilna 4
- {{MONTHNUMBER|5}} hasilna 5
- {{MONTHNUMBER|6}} hasilna 6
- {{MONTHNUMBER|7}} hasilna 7
- {{MONTHNUMBER|8}} hasilna 8
- {{MONTHNUMBER|9}} hasilna 9
- {{MONTHNUMBER|10}} hasilna 10
- {{MONTHNUMBER|11}} hasilna 11
- {{MONTHNUMBER|12}} hasilna 12
- Examples for month numbers with extra leading zero:
- {{MONTHNUMBER|01}} hasilna 1
- {{MONTHNUMBER|02}} hasilna 2
- {{MONTHNUMBER|03}} hasilna 3
- {{MONTHNUMBER|04}} hasilna 4
- {{MONTHNUMBER|05}} hasilna 5
- {{MONTHNUMBER|06}} hasilna 6
- {{MONTHNUMBER|07}} hasilna 7
- {{MONTHNUMBER|08}} hasilna 8
- {{MONTHNUMBER|09}} hasilna 9
- Examples for month number underflows and overflows, from computed values:
- {{MONTHNUMBER|-1200}} hasilna 12
- {{MONTHNUMBER|-1201}} hasilna 11
- {{MONTHNUMBER|-1212}} hasilna 12
- {{MONTHNUMBER|-12}} hasilna 12
- {{MONTHNUMBER|-11}} hasilna 1
- {{MONTHNUMBER|-10}} hasilna 2
- {{MONTHNUMBER|-9}} hasilna 3
- {{MONTHNUMBER|-8}} hasilna 4
- {{MONTHNUMBER|-7}} hasilna 5
- {{MONTHNUMBER|-6}} hasilna 6
- {{MONTHNUMBER|-5}} hasilna 7
- {{MONTHNUMBER|-4}} hasilna 8
- {{MONTHNUMBER|-3}} hasilna 9
- {{MONTHNUMBER|-2}} hasilna 10
- {{MONTHNUMBER|-1}} hasilna 11
- {{MONTHNUMBER|-0.9999}} hasilna 11
- {{MONTHNUMBER|-0.5}} hasilna 11
- {{MONTHNUMBER|-0.0001}} hasilna 11
- {{MONTHNUMBER|0}} hasilna 12
- {{MONTHNUMBER|0.0001}} hasilna 12
- {{MONTHNUMBER|0.5}} hasilna 12
- {{MONTHNUMBER|0.9999}} hasilna 12
- {{MONTHNUMBER|12.0001}} hasilna 12
- {{MONTHNUMBER|12.5}} hasilna 12
- {{MONTHNUMBER|12.9999}} hasilna 12
- {{MONTHNUMBER|13}} hasilna 1
- {{MONTHNUMBER|14}} hasilna 2
- {{MONTHNUMBER|24}} hasilna 12
- {{MONTHNUMBER|1200}} hasilna 12
- {{MONTHNUMBER|1201}} hasilna 1
- {{MONTHNUMBER|1212}} hasilna 12
- Example for invalid month name:
- {{MONTHNUMBER|xxx}} hasilna Salah éksprési: Kecap "xxx" teu dipikawanoh.