Help:Date format
Jump to navigation
Jump to search
There are 7 date formatting templates.
{{Date format}}
{{Date format2}}
{{Date format3}}
{{Date format4}}
{{Date format5}}
{{Date format6}}
{{Date format7}}
All date formatting templates are wrappers for the time function.
This table shows how each one formats a given date. In the table they are all formatting 4/25/2007
.
Template | 4/25/2007 Formatted output | Description |
---|---|---|
{{Date format2}} |
04 | zero-padded month number |
{{Date format3}} |
2007 | 4-digit year |
{{Date format4}} |
25 | zero-padded day of the month |
{{Date format5}} |
April | full month name |
{{Date format6}} |
April 25, 2007 | full month name, day of the month not zero-padded, and 4-digit year. (time code F j, Y )
|
{{Date format}} |
April 25, 2007 | same as above, except links to schedule page |
{{Date format7}} |
April 2007 | full month name and 4-digit year. links to schedule page |
Do note that {{Date format}}
and {{Date format7}}
make wiki links to their corresponding schedule page.