Diferencia entre revisiones de «Plantilla:Age»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
({{tfd}})
({{tfd|Age}})
Línea 1: Línea 1:
{{tfd|Template:Age}}<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
+
{{tfd|Age}}<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
  
 
{{tiw|age}}.
 
{{tiw|age}}.

Revisión del 08:05 2 jul 2006

Plantilla:Tfd

Plantilla:Tiw.

This template returns the number of full years elapsed at one date since another date or since today (UTC).

Syntax:
{{Age|year1|month1|day1|year2|month2|day2}}
{{Age|year1|month1|day1}}

Examples:

  • {{age|1989|7|23|2003|7|14}} gives 13
  • {{age|1989|7|23}} gives 35

See also Plantilla:Tiw and Plantilla:Tiw.