Difference between revisions of "Year"

From Sega 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...")
 
m (Protected "Template:Year": High-traffic template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
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.
 
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.
  
[[Category:Sega Retro Templates|{{PAGENAME}}]]
+
[[Category:Sega Retro templates|{{PAGENAME}}]]</noinclude>

Revision as of 19:17, 7 November 2020

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.