Template:Date
Error: Invalid time.
Date with three parameters in order: year - month - day (using numbers); it is possible to enter only the year or only the year and the month. Alternatively, a single parameter with an ISO 8601 calendar date (or year), i.e., of the form YYYY-MM-DD, YYYY-MM, or YYYY.
A fourth parameter can be used to show the text "Accessed on". This parameter can only be used if the first three other parameters are also used.
Examples
[edit]{{Date|1758}} gives:
1758
{{Date|1900|01}} gives:
January 1900
{{Date|1900-01}} gives:
January 1900
{{Date|2020|03|5}} gives:
5 March 2020
{{Date|2020-03-05}} gives:
5 March 2020
{{Date|2008|11|29|Accessed on}} gives:
Accessed on 29 November 2008
Note that months January to September (i.e. numbers 1–9) and dates 1–9 can be used either with a leading zero or without. In other words, the four examples
{{Date|2023|08|04}}
{{Date|2023|08|4}}
{{Date|2023|8|04}}
{{Date|2023|8|4}}
all render as:
4 August 2023
It is not recommended to omit the leading zero for the month or day when using the ISO format (hyphenated).