Difference between revisions of "Template:Currentdate"

From blackwiki
Jump to navigation Jump to search
imported>Verdy p
(abuse by Pppery (talk) look in your own history, your errors are repeated since the beginning (you never needed to change it to make them, there was no error at all before))
imported>Pppery
(Undid revision 738491165 by Verdy p (talk) There certainly was an error in your initial corrections - that the tfd tag was misplaced according to the tfd listing instructions)
Line 1: Line 1:
{{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAYNAME}}, {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTDAY}}, {{{{{|safesubst:}}}CURRENTYEAR}} ([[UTC]])<noinclude>
+
<noinclude>{{Template for discussion/dated|page=Currentdate|link=Wikipedia:Templates for discussion/Log/2016 September 4#Template:Currentdate|type=tiny}}
{{Template for discussion/dated|page=Currentdate|link=Wikipedia:Templates for discussion/Log/2016 September 4#Template:Currentdate|type=tiny}}
+
</noinclude>{{{{{|safesubst:}}}CURRENTTIME}}, {{{{{|safesubst:}}}CURRENTDAYNAME}}, {{{{{|safesubst:}}}CURRENTMONTHNAME}} {{{{{|safesubst:}}}CURRENTDAY}}, {{{{{|safesubst:}}}CURRENTYEAR}} ([[UTC]])<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:11, 10 September 2016

Template:Template for discussion/dated 14:57, Sunday, March 22, 2026 (UTC)

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

Usage

{{Currentdate}}produces:
14:57, Sunday, March 22, 2026 (UTC)

while {{Date}}produces:
22 March 2026

See also

[edit] all subsections that follow:

Multiple units of time

Type Adjustable Current Last Next
Date and time {{time}} {{Currentdate}} (MDY)
{{Plain now}} (DMY)
{{Now}} (DMY in a complete sentence)
{{Simple now}}
Date only {{Dateonly}}
{{Datedow}}
(Has the day of the week)
{{Date}} (Chose format)
{{DATE}} (prefixed by date=)
{{TODAY}} (DMY)
{{Yesterday}}
{{Day-1}}
{{Tomorrow}}
{{Day+1}}
Time only {{Timeonly}} {{CURRENTTIME}} (12 h format)
{{CURRENTTIME24}} (24 h format)
Banners {{Right now}}
(Blue with time and number of Wikipedia articles)
Timestamp {{Timestamp}}
(Format YYYYMMDDhhmmss)

Single units of time

Unit of time Adjustable Current Last Next
SECOND {{CURRENTSECOND}}
MINUTE {{CURRENTMINUTE}}
HOUR {{CURRENTHOUR}} {{Hour-1}} {{Hour+1}}
WEEK {{CURRENTWEEK}}
{{CURRENTWEEKOFMONTH}}
Day of Week {{Dow}} {{CURRENTDAYNAME}}
{{CURRENTWEEKDAYABBREV}}
{{CURRENTWEEKDAY}}
{{LASTWEEKDAYNAME}}
{{LASTWEEKDAYABBREV}}
{{NEXTWEEKDAYNAME}}
{{NEXTWEEKDAYABBREV}}
MONTH {{MONTHNAME}}
{{MONTHABBREV}}
{{MONTHNUMBER}}
{{MONTH}} (zero padded)
{{CURRENTMONTHNAME}}
{{CURRENTMONTHABBREV}}
{{CURRENTMONTH1}}
{{CURRENTMONTHDAYS}}
{{LASTMONTH}}
(Can make not zero-padded)
{{LASTMONTHNAME}}
{{LASTMONTHABBR}}
{{NEXTMONTH}}
(Can make not zero-padded)
{{NEXTMONTHNAME}}
{{NEXTMONTHABBR}}
Day of Month {{CURRENTDAY}}
{{CURRENTDAY2}} (zero padded)
YEAR {{CURRENTYEARCC}}
{{CURRENTYEARYY}}
{{CURRENTISOYEAR}}
{{CURRENTYEAR}}
{{LASTYEAR}} {{NEXTYEAR}}
Day of Year {{CURRENTDAYOFYEAR}}
DECADE {{DECADE}} {{CURRENTDECADE}} {{LASTDECADE}} {{NEXTDECADE}}
CENTURY {{CENTURY}} {{CURRENTCENTURY}} {{LASTCENTURY}} {{NEXTCENTURY}}
MILLENNIUM {{MILLENNIUM}} {{Currentmillennium}}

Date and time templates made for substitution:

Month:
{{Lmonth}} produces Feb
{{Nmonth}} produces Apr
{{LastMonth}} produces February 2026
{{NextMonth}} produces April 2026


Individual templates

Categories of templates