Template:Get-year

Template page
Revision as of 19:01, 26 September 2022 by Admin (talk | contribs) (Created page with "<includeonly>{{#ifeq:"{{lc:{{{1|1900}}}}}"|"{{Four digit|{{#expr:{{{1|1900}}}}}}}"|{{{1|1900}}}|{{#time:Y|{{{1|November 1, 1900}}} }}}}</includeonly><noinclude> '''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. Category:Date mathematics templates </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.