Wikipedia:Overview of date formatting guidelines: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 5:
*'''Day–month–year''' (DMY) format—e.g., {{xt|{{#time:j F Y}}}} or {{xt|{{#time:j M Y}}}};
*'''Month–day–year''' (MDY) format—e.g., {{xt|{{#time:F j, Y}}}} or {{xt|{{#time:M j, Y}}}};
*'''Year–month–day''' (YMD) format—e.g., {{xt|{{#time:Y-m-d}}}} — also called the "all-numeric" format; used only in places where space is limited such as references and some tables and infoboxes, but not in article text proper. It is also usefulpreferable in sortable tables to sort items chronologically, since the two other formats may do it incorrectly.
 
Which format should be used in a particular situation is controlled by the (somewhat confusing) interaction between three sub-provisions of MOS:DATEFORMAT. The priority among these provisions can be summarised as follows: