"ଛାଞ୍ଚ:Age in years and months" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
Content deleted Content added
Template |
ଟିକେ ବିଷୟବସ୍ତୁକୁ "<includeonly>{{#invoke:age|age_generic|template=age_ym}}</includeonly><noinclude>{{documentation}}</noinclude>" ଦେଇ ପ୍ରତିବଦଳ କଲେ ଟ୍ୟାଗ: Replaced |
||
୧ କ ଧାଡ଼ି: | ୧ କ ଧାଡ଼ି: | ||
<includeonly>{{#invoke:age|age_generic|template=age_ym}}</includeonly><noinclude>{{documentation}}</noinclude> |
|||
<includeonly>{{#ifexpr:{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}=0|{{#ifeq:{{{s0y|}}}|yes|0 years, |}}|{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}} year{{#ifeq:{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}|1||s}}{{#ifexpr:{{#expr:{{#ifexpr:{{{5|{{CURRENTMONTH}}}}}<{{{2}}}|12|0}} + ({{{5|{{CURRENTMONTH}}}}}-{{{2}}}) + {{#ifexpr:{{{6|{{CURRENTDAY}}}}}>={{{3}}}|1|0}} -1 }}<=0||, }}}}{{#ifexpr:{{#expr:{{#ifexpr:{{{5|{{CURRENTMONTH}}}}}<{{{2}}}|12|0}} + ({{{5|{{CURRENTMONTH}}}}}-{{{2}}}) + {{#ifexpr:{{{6|{{CURRENTDAY}}}}}>={{{3}}}|1|0}} -1 }}<=0||{{#expr:{{#ifexpr:{{{5|{{CURRENTMONTH}}}}}<{{{2}}}|12|0}} + ({{{5|{{CURRENTMONTH}}}}}-{{{2}}}) + {{#ifexpr:{{{6|{{CURRENTDAY}}}}}>={{{3}}}|1|0}} -1 }} month{{#ifeq:{{#expr:{{#ifexpr:{{{5|{{CURRENTMONTH}}}}}<{{{2}}}|12|0}} + ({{{5|{{CURRENTMONTH}}}}}-{{{2}}}) + {{#ifexpr:{{{6|{{CURRENTDAY}}}}}>={{{3}}}|1|0}} -1 }}|1||s}}}}</includeonly><noinclude>{{template doc}}</noinclude> |
୦୨:୦୧, ୧୯ ମଇ ୨୦୨୦ ହୋଇଥିବା ରିଭିଜନ
The content of this template is only visible when the template is transcluded.
Usage[ସମ୍ପାଦନା]
This template returns the number of full years and remaining days between two specified dates. If the second set of parameters is not included, it will return the number of full years and remaining months between a specified date and today's date.
- Syntax:
- {{age in years and months|year1|month1|day1|year2|month2|day2}} or
- {{age in years and months|year1|month1|day1}}
- Examples:
- {{age in years and months|1989|7|23|2003|7|14}} returns "୧୩ ବର୍ଷ, ୧୧ ମାସ"
- {{age in years and months|1989|7|23}} returns "୩୫ ବର୍ଷ"
See also[ସମ୍ପାଦନା]
- {{age}} — Age in years
- {{age in days}} — Age in days
- {{age in years and days}} — Age in years and days
- {{date}} — Today's date