Actions

Template

Difference between revisions of "Year"

From Sonic 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 21:54, 16 June 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.