Vorlage:Age

Aus Battlestar Wiki
Version vom 19. August 2007, 13:36 Uhr von Thwidra (Diskussion | Beiträge) (Die Seite wurde neu angelegt: <includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}...)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Dokumentation

This template returns the number of full years between two dates, or between a specified date and today (UTC).

Syntax
{{Age|year1|month1|day1|year2|month2}}
{{Age|year1|month1|day1}}
Beispiele
  • {{age|1989|7|23|2003|7|14}} gives 13
  • {{age|1989|7|23}} gives 34