Template:FULLDATE/doc

< Template:FULLDATE
Revision as of 14:47, 15 May 2018 by Chenzw (talk) (fix unclosed formatting tags)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

  1. REDIRECT Template:Template link with parameters

Template:R from move

  1. REDIRECT Template:Template link with parameters

Template:R from move

  • 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}} May 16, 2021
{{FULLDATE|type=short}} May 16
{{FULLDATE|type=shortish}} May. 16, 2021
{{FULLDATE|type=medium}} May 16, 2021
{{FULLDATE|type=long}} May 16, 2021 03:16:27
{{FULLDATE|type=day}} Sunday, 16 May 2021
{{FULLDATE|type=longer}} Sunday, 16 May 2021 03:16:27 (UTC)
{{FULLDATE|type=rfc-2822}} Sun, 16 May 2021 03:16:27 +0000
{{FULLDATE|type=iso-8601}} 2021-05-16T03:16:27+00:00
{{FULLDATE|type=wiki}} 03:16:27, 16 May 2021 (UTC)
{{FULLDATE|type=date}} 2021-05-16

Related pages