Template:Get-year: Difference between revisions

Template page
(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>")
 
No edit summary
 
Line 3: Line 3:


Limitatins: does understand BC/ AD and may not deliver accurate results for single digit dates.
Limitatins: does understand BC/ AD and may not deliver accurate results for single digit dates.
[[Category:Date mathematics templates]]
</noinclude>
</noinclude>

Latest revision as of 19:02, 26 September 2022

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.