Template:Date
Appearance
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.
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|2020|03|5}}
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 renders as:
4 August 2023