Difference between revisions of "Template:Date"
Jump to navigation
Jump to search
m |
m (added interwiki link) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
* {{Date|2019-12-999}} | * {{Date|2019-12-999}} | ||
* {{Date|01-03-2019}} | * {{Date|01-03-2019}} | ||
+ | |||
+ | <!--[[en:Template:Date]]--> | ||
+ | [[he:Template:Date]] | ||
+ | [[is:Snið:Date]] | ||
+ | [[nl:Sjabloon:Datum]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:19, 13 April 2022
Usage
In templates, please use the YYYY-MM-DD format (e.g. 2001-05-01 or 2018-12-28. In article texts, please use the DD MMMM YYYY format (e.g. 1 May 2001
or 24 December 2018
). You may even use the template in article texts outside templates, like this:
* John Doe was born on {{Date|1950-07-23}}.
- John Doe was born on 23 July 1950.
Examples
{{Date|}} {{Date|999}} {{Date|2019}} {{Date|2019-}}
- Error: Invalid time.
- 2019
- Error: Invalid time.
{{Date|2019-3}} {{Date|2019-03}} {{Date|2019-03-}} {{Date|03-2019}}
- March 2019
- March 2019
- Error: Invalid time.
- Error: Invalid time.
{{Date|2019-12-1}} {{Date|2019-12-24}} {{Date|2019-12-999}} {{Date|01-03-2019}}
- 1 December 2019
- 24 December 2019
- error
- 1 March 2019