Template:FULLDATE

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

June 22, 2019

Template documentation[view] [edit] [history] [purge]

{{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}} June 22, 2019
{{FULLDATE|type=short}} June 22
{{FULLDATE|type=shortish}} Jun. 22, 2019
{{FULLDATE|type=medium}} June 22, 2019
{{FULLDATE|type=long}} June 22, 2019 17:32:23
{{FULLDATE|type=day}} Saturday, 22 June 2019
{{FULLDATE|type=longer}} Saturday, 22 June 2019 17:32:23 (UTC)
{{FULLDATE|type=rfc-2822}} Sat, 22 Jun 2019 17:32:23 +0000
{{FULLDATE|type=iso-8601}} 2019-06-22T17:32:23+00:00
{{FULLDATE|type=wiki}} 17:32:23, 22 June 2019 (UTC)
{{FULLDATE|type=date}} 2019-06-22

Related pages[change source]