टेम्पलेट:Weekday in month
टेम्पलेट बिबरनलेख[देखीं] [संपादन करीं] [इतिहास देखीं] [रिफ्रेश करीं]
Usage
संपादन करीं- Code
Note that the order of the input can be reversed. The following give the same output.
{{Weekday in month|
y|
m|
w|
n}}
{{Weekday in month|
n|
w|
m|
y}}
Note that the year is optional. The following give the nth w-day of month m this year.
{{Weekday in month||
m|
w|
n}}
{{Weekday in month|
n|
w|
m}}
- Parameters
y | year | numeric format, certain words, blank
|
---|---|---|
m | month | numeric format, spelt out in full or abbreviated
|
w | weekday | numeric format, spelt out in full or abbreviated
|
n | count | numeric format, spelt out in full or abbreviated
|
- Examples
|
|
|
Calculation
संपादन करींThe template then gives j, the day of the month, as calculated by the following formulae.
- j = 7×n − 6 + (w − w1) mod 7 (for positive n)
- j = t + 7×(n + 1) − (wt − w) mod 7 (for negative n)
Where t is the last day of the month, wt is the ISO weekday number of the last day of the month, w1 is the ISO weekday number of the first day of the month and n and w are as defined above.
Examples
संपादन करींyear | MLK Jr Day (US) | Presidents Day (US) | Memorial Day (US) | Labor Day (US) | Columbus Day (US) | Father's Day (Australia) |
Mother's Day (many countries) |
Thanksgiving (Norfolk Island) |
Melbourne Cup Day (Australia) |
---|---|---|---|---|---|---|---|---|---|
3rd Monday in January | 3rd Monday in February | Last Monday in May | 1st Monday in September | 2nd Monday in October | 1st Sunday in September | 2nd Sunday in May | last Wednesday of November | first Tuesday in November | |
2019 | १५ January | १९ February | २७ May | २ September | १४ October | ६ September | १२ May | २७ November | ५ November |
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
| |
2020 | १५ January | १९ February | २७ May | २ September | १४ October | ६ September | १२ May | २७ November | ५ November |
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
| |
2021 | १५ January | १९ February | २७ May | २ September | १४ October | ६ September | १२ May | २७ November | ५ November |
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
| |
2022 | १५ January | १९ February | २७ May | २ September | १४ October | ६ September | १२ May | २७ November | ५ November |
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
| |
2023 (last year) |
१५ January | १९ February | २७ May | २ September | १४ October | ६ September | १२ May | २७ November | ५ November |
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
| |
2024 (this year) |
१५ January | १९ February | २७ May | २ September | १४ October | ६ September | १२ May | २७ November | ५ November |
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
| |
2025 (next year) |
१५ January | १९ February | २७ May | २ September | १४ October | ६ September | १२ May | २७ November | ५ November |
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
{{weekday in month
|
See also
संपादन करीं- {{WEEKDAY}}
- {{Weekday in month elapsed}}
परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:Weekday in month/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |