Template:FULLDATE/doc
This is a documentation subpage for Template:FULLDATE. It may contain 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[change source]
- 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[change source]
Code | Result |
---|---|
{{FULLDATE}}
|
May 4, 2024 |
{{FULLDATE|type=short}}
|
May 4 |
{{FULLDATE|type=shortish}}
|
May. 4, 2024 |
{{FULLDATE|type=medium}}
|
May 4, 2024 |
{{FULLDATE|type=long}}
|
May 4, 2024 22:13:08 |
{{FULLDATE|type=day}}
|
Saturday, 04 May 2024 |
{{FULLDATE|type=longer}}
|
Saturday, 04 May 2024 22:13:08 (UTC) |
{{FULLDATE|type=rfc-2822}}
|
Sat, 04 May 2024 22:13:08 +0000 |
{{FULLDATE|type=iso-8601}}
|
2024-05-04T22:13:08+00:00 |
{{FULLDATE|type=wiki}}
|
22:13:08, 4 May 2024 (UTC) |
{{FULLDATE|type=date}}
|
2024-05-04 |
Related pages[change source]
- Help:Magic words for {{CURRENTDAY}}, etc.