Help:Date formatting

Jump to: navigation, search
Semantic extension(s): Page Forms
Further extension(s):  -/-
Keyword(s): formatting


This tip helps you to reformat the output of dates which is by default 2011/06/27 and still keep a proper annotation for it.

Prerequisite is that you have the extension ParserFunctions installed on your wiki. There are three variants:

1) ISO-style


→ 2011-06-27

2) US-style

$wgAmericanDates = true;
into LocalSettings.php

→ June 27, 2011

2) German-style


→ 27.06.2007