Difference between revisions of "Year"
From NEC Retro
(Created page with "<includeonly>{{#iferror:{{#expr:{{#sub:{{{1|9999}}}|0|4}}}}|9999|{{#sub:{{{1|9999}}}|0|4}}}}</includeonly><noinclude> This template converts dates written in the format YYYY-M...") |
(No difference)
|
Revision as of 13:27, 15 September 2015
This template converts dates written in the format YYYY-MM-DD to YYYY. If the year is invalid (including unknown years such as 199x), it will return 9999 as the year.