Template:FULLDATE/doc
40px | This is a documentation subpage for Template:FULLDATE. It contains usage information, categories and other content that is not part of the original template page. |
{{FULLDATE}} returns the full or short English date at current time (UTC time, as set on the Wikipedia server).
Usage
{{FULLDATE}}
- The
type
parameter is optional and can be either:- short: display the current month name and day of month
- medium: display the current month name, day of month, and year (default)
- long: display the current month name, day of month, year, and UTC time
- rfc-2822: displays the time in rfc-2822 format
- iso-8601: displays the time in iso-8601 format
- wiki: displays the time in wiki format
- The
time
parameter is optional, and can be used to get a date of other reference (like tomorrow etc..)
Examples
Code | Result |
---|---|
{{FULLDATE}}
|
October 25, 2020 |
{{FULLDATE|type=short}}
|
October 25 |
{{FULLDATE|type=shortish}}
|
Oct. 25, 2020 |
{{FULLDATE|type=medium}}
|
October 25, 2020 |
{{FULLDATE|type=long}}
|
October 25, 2020 10:56:45 |
{{FULLDATE|type=day}}
|
Sunday, 25 October 2020 |
{{FULLDATE|type=longer}}
|
Sunday, 25 October 2020 10:56:45 (UTC) |
{{FULLDATE|type=rfc-2822}}
|
Sun, 25 Oct 2020 10:56:45 +0000 |
{{FULLDATE|type=iso-8601}}
|
2020-10-25T10:56:45+00:00 |
{{FULLDATE|type=wiki}}
|
10:56:45, 25 October 2020 (UTC) |
{{FULLDATE|type=date}}
|
2020-10-25 |
Related pages
- Help:Magic words for {{CURRENTDAY}}, etc.