Template:Get-year

From The Final Challenge Wiki
Revision as of 19:13, 16 January 2011 by Tynian (talk | contribs) (1 revision: Please don't make me re-invent the wheel!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose: Given a plain text date, returns the year. accepts ISO8601, a variety of date formats as well as year only specification of date.

Limitatins: does understand BC/ AD and may not deliver accurate results for single digit dates.