Permanently protected template

Template:Currentdate

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

03:12, Sunday, June 24, 2018 (UTC)

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

Usage

{{Currentdate}}
produces
03:12, Sunday, June 24, 2018 (UTC)

while
{{Date}}
produces
24 June 2018

See also

Date and time

  • {{time}} – Display the current date and time of a timezone (ajustable)
  • {{Currentdate}} – Time, day of week, and date in MDY format
  • {{Plain now}} – Date in DMY format

Date only

  • {{Dateoffset}} – The date in a certain UTC offset (ajustable)
  • {{Date}} – Date in chosen format
    • {{DATE}} – month and year, prefixed by "date=" (for use with templates through substitution)
  • {{TODAY}} – Date in DMY

Time only

Banners

  • {{Right now}} – Blue banner with time and current number of Wikipedia articles

UNIT OF TIME AJUSTABLE CURRENT Other
SECOND {{CURRENTSECOND}}
MINUTE {{CURRENTMINUTE}}
HOUR {{Currenthour}} {{Hour+1}}

{{Hour-1}}

WEEK {{CURRENTWEEKOFYEAR}}

{{CURRENTWEEKOFMONTH}}

Day of Week {{WEEKDAYNAME}}

{{WEEKDAYABBREV}}

{{WEEKDAY}}

{{CURRENTWEEKDAYNAME}}

{{CURRENTWEEKDAYABBREV}}

{{CURRENTWEEKDAY}}

MONTH {{MONTHNAME}}

{{MONTHABBREV}}

{{MONTHNUMBER}}

{{MONTH}} (zero padded)

{{Currentmonth}}

{{CURRENTMONTHABBREV}}

{{CURRENTMONTHNUMBER}}

{{CURRENTMONTHDAYS}}

Day of Month {{DAYOFMONTH}} {{Currentday}}
YEAR {{CURRENTYEARCC}}

{{CURRENTYEARYY}}

{{CURRENTISOYEAR}}

{{CURRENTYEAR}}

{{NEXTYEAR}}
Day of Year {{DAYOFYEAR}} {{CURRENTDAYOFYEAR}}
CENTURY {{CENTURY}} {{CURRENTCENTURY}}
MILLENNIUM {{Millennium}} {{Currentmillennium}}