FANDOM


{{{1}}}

Template documentation
Note: parts of or entire template might not be visible without values provided.
Description
Attempt to format the provided date according to the reader's locale format.
Syntax
Type <code data-t-role="wrapper" data-t-mode="transclusion" style="all:unset;font-family:monospace;">{{FormatDate|<date string>}}</code> 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


Text above can be found here (edit)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+