Template:FULLDATE/doc
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
- 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}}
|
September 30, 2024 |
{{FULLDATE|type=short}}
|
September 30 |
{{FULLDATE|type=shortish}}
|
Sep. 30, 2024 |
{{FULLDATE|type=medium}}
|
September 30, 2024 |
{{FULLDATE|type=long}}
|
September 30, 2024 15:00:51 |
{{FULLDATE|type=day}}
|
Monday, 30 September 2024 |
{{FULLDATE|type=longer}}
|
Monday, 30 September 2024 15:00:51 (UTC) |
{{FULLDATE|type=rfc-2822}}
|
Mon, 30 Sep 2024 15:00:51 +0000 |
{{FULLDATE|type=iso-8601}}
|
2024-09-30T15:00:51+00:00 |
{{FULLDATE|type=wiki}}
|
15:00:51, 30 September 2024 (UTC) |
{{FULLDATE|type=date}}
|
2024-09-30 |
Related pages
- Help:Magic words for {{CURRENTDAY}}, etc.