Template:YEAR


Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

{{YEAR|some date like string}}


  • {{YEAR|1999}} gives "1999"
  • {{YEAR|1999-12-12}} gives "1999"
  • {{YEAR|1999-2001}} gives "1999"
  • {{YEAR|January 1999}} gives "1999"
  • {{YEAR|1 January 1999}} gives "1999"
  • {{YEAR|January 1, 1999}} gives "1999"

See also