قالب:DECADE

Template-info.svg Template documentation[view] [edit] [history] [purge]

This template computes the decade for the Gregorian year in parameter.

Syntax:
{{DECADE|year}}
  • The year must be astronomical (year=1 in 1 AD (Anno Domini), year=0 in 1 BC, year=-1 in 2 BC).
Examples:
{{DECADE|1738}} returns عقد 1730
{{DECADE|1900}} returns عقد 1900
{{DECADE|1901}} returns عقد 1900
{{DECADE|1915}} returns عقد 1910
{{DECADE|1962}} returns عقد 1960
{{DECADE|1999}} returns عقد 1990
{{DECADE|2000}} returns عقد 2000
{{DECADE|2001}} returns عقد 2000
{{DECADE|2099}} returns عقد 2090
{{DECADE|2100}} returns عقد 2100
{{DECADE|2101}} returns عقد 2100
See also:
Template:CENTURY
Template:YEARCC
Template:YEARYY
Template:MONTHDAYS
Template:IsLeapYear
Template:JULIANDAY
Template:WEEKDAY