Actions

Template

Month

From Sonic Retro

Revision as of 22:03, 16 June 2015 by Hivebrain (talk | contribs) (Created page with "<includeonly>{{#ifeq:{{#pos:{{{1|}}}|-}}|4 |{{#sub:{{{1}}}|4|2}} |00 }}</includeonly><noinclude> This template converts dates written in the format YYYY-MM-DD to MM. If the da...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template converts dates written in the format YYYY-MM-DD to MM. If the date is invalid or contains no month, it will return 00 as the month.