"आकृति:Age in weeks" के अवतरणसभमे अन्तर

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश
imported>M.C.
rvt
imported>M.C.
Undid revision 146591481 by MC Snowy (talk)
पङ्क्त्ति १: पङ्क्त्ति १:
<noinclude>This template returns the number of weeks that have elapsed between two dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today. To use type: '''<nowiki>{{Age in weeks|month1= |day1= |year1= |month2= |day2= | year2=}}</nowiki>'''
<noinclude>This template returns the number of weeks that have elapsed between two dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today. To use type: '''<nowiki>{{Age in weeks|month1= |day1= |year1= |month2= |day2= | year2=}}</nowiki>'''
</noinclude><includeonly>{{#expr:
</noinclude><includeonly>{{floor|{{#expr:
( (
(
+ {{Gregorian serial date
+ {{Gregorian serial date
|month = {{{month2|{{CURRENTMONTH}}}}}
|month = {{{month2|{{CURRENTMONTH}}}}}
पङ्क्त्ति १३: पङ्क्त्ति १३:
}}
}}
)
)
/ 7 round 0
/ 7
) }}</includeonly><noinclude>[[Category:Date mathematics templates|{{PAGENAME}}]]
}} }}</includeonly><noinclude>[[Category:Date mathematics templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude>
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude>

अन्तिम परिवर्तन ०१:१५, २४ जुलाई २००७

This template returns the number of weeks that have elapsed between two dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today. To use type: {{Age in weeks|month1= |day1= |year1= |month2= |day2= | year2=}}