Template:yearssince

From Homestar Runner Wiki

Revision as of 22:59, 19 May 2009 by It's dot com (Talk | contribs)
Jump to: navigation, search

Outputs the number of whole years since a specified date. If the date is on or after 1 January 1970, it can be entered directly in a variety of formats. Otherwise, it must be specified using several parameters.

Usage

  • {{yearssince| some date }}
  • {{yearssince| d=day | m=month | y=year }}

Examples

{{yearssince| 25 Aug 2003 }} 20
{{yearssince| January 1, 2000 }} 24
{{yearssince| 10/25/76 }} 47
{{yearssince| July 1983 }} 40
{{yearssince| 1995 }} 29
{{yearssince| d=29 | m=5 | y=1952 }} 71
{{yearssince| y=1215 }} 809


Personal tools