Template:Birth date and age/doc: Difference between revisions

From comp.tf
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 4: Line 4:


== Example ==
== Example ==
=== Present tense ===


<pre>{{birth_date_and_age|1980|09|22}}</pre>
<pre>{{birth_date_and_age|1980|09|22}}</pre>
Line 12: Line 10:


{{birth_date_and_age|1980|09|22}}
{{birth_date_and_age|1980|09|22}}
=== Past tense ===
<pre>{{birth_date_and_age|1980|09|22|past}}</pre>
gives:
{{birth_date_and_age|1980|09|22|past}}
[[Category:Source Wikipedia]]
[[Category:Source Wikipedia]]

Latest revision as of 12:21, 9 December 2019

Usage[edit source]

{{birth date and age|year|month|day}}

Example[edit source]

{{birth_date_and_age|1980|09|22}}

gives:

September 22, 1980 (1980-09-22) (age 44)