Template:Age in days: Difference between revisions

From PTCpedia
Jump to navigation Jump to search
Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== This template returns the number of days between two dates. If the s...'
 
Blanked the page
 
Line 1: Line 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
==Usage==
This template returns the number of days 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 days|month1= |day1= |year1= |month2= |day2= | year2=}},</nowiki> or with unnames parameters:
:<nowiki>{{age in days|year1|month1|day1|year2|month2|day2}}</nowiki>  or
:<nowiki>{{age in days|year1|month1|day1}}</nowiki>


Examples:
*<nowiki>{{age in days|2007|5|24|2008|4|23}}</nowiki> gives {{age in days|2007|5|24|2008|4|23}}
*<nowiki>{{age in days|2007|5|24}}</nowiki> gives {{age in days|2007|5|24}}
==See also==
*{{tl|age}} — Age in years
*{{tl|age in years and days}} — Age in years and days
*{{tl|birth date and age}}
*{{tl|Age in days nts}} — Like this template, but will sort correctly in sortable tables.
*[[Wikipedia:Age calculation templates]]
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Date mathematics templates|{{PAGENAME}}]]
[[ar:قالب:Age in days]]
[[be-x-old:Шаблён:Тэрмін у днях]]
[[cs:Šablona:Věk ve dnech]]
[[de:Vorlage:Tagesdifferenz]]
[[dsb:Pśedłoga:Diferenca pó dnjach]]
[[eo:Ŝablono:Tagdiferenco]]
[[hsb:Předłoha:Diferenca po dnjach]]
[[is:Snið:Aldur í dögum]]
[[nl:Sjabloon:Aantal dagen]]
[[ru:Шаблон:Days between]]
[[uk:Шаблон:Age in days]]
[[vi:Tiêu bản:Tuổi theo ngày]]
</includeonly>

Latest revision as of 00:14, 20 March 2009