Fandom Developers Wiki
Fandom Developers Wiki


Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.
Attempt to format the provided date according to the reader's locale format.
Type {{FormatDate|<date string>}} somewhere.
Add the uselang parameter with a locale code value to format a date using the provided locale's format.
Add the dateformat parameter with a custom syntax value to format a date according to the provided date format.
Sample output
{{FormatDate|2004-10-18}} gives...
October 18, 2004
{{FormatDate|2004-10-18|uselang=ru}} gives...
18 октября 2004
{{FormatDate|2004-10-18|dateformat=Y F d}} gives...
2004 October 18