Template:FULLDATE

From Wikipedia, the free encyclopedia

June 9, 2008


{{FULLDATE}} returns the full or short English date at current time (UTC time, as set on the Wikipedia server).

Usage

  • {{FULLDATE}}
  • {{FULLDATE|type=value}}
  • {{FULLDATE|type=value|time=value}}
  • 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}} June 9, 2008
{{FULLDATE|type=short}} June 9
{{FULLDATE|type=shortish}} Jun. 9, 2008
{{FULLDATE|type=medium}} June 9, 2008
{{FULLDATE|type=long}} June 9, 2008 08:07:45
{{FULLDATE|type=day}} Monday, 09 June 2008
{{FULLDATE|type=longer}} Monday, 09 June 2008 08:07:45 (UTC)
{{FULLDATE|type=rfc-2822}} Mon, 09 Jun 2008 08:07:45 +0000
{{FULLDATE|type=iso-8601}} 2008-06-09T08:07:45+00:00
{{FULLDATE|type=wiki}} 08:07:46, 9 June 2008 (UTC)
{{FULLDATE|type=date}} 2008-06-09

See also