Changes

Jump to navigation Jump to search
convert to /doc page
{{align|left|[{{edit|Template:Date and time templates}}] ''all subsections that follow:''}}<br />
__NOTOC__
=== Multiple units of time ===
{| class="wikitable"
|+
!Type
!Adjustable
!Current
!Last
!Next
|-
|Date and Time
|{{tl|time}}
|{{tl|Currentdate}} (MDY)<br>{{tl|Plain now}} (DMY)<br>{{tl|Now}} (Plan now in as sentence)
|
|
|-
|Date Only
|{{tl|Dateonly}}<br>{{tl|Datedow}}<br>(Has the day of the week)
|{{tl|Date}} (Chose format)<br>{{tl|DATE}} (prefixed by date=)<br>{{tl|TODAY}} (DMY)
|{{tl|Yesterday}}<br>{{tl|Day-1}}
|{{tl|Tomorrow}}<br>{{tl|Day+1}}
|-
|Time only
|{{tl|Timeonly}}
|{{tl|CURRENTTIME}} (12 h format)<br>{{tl|CURRENTTIME24}} (24 h format)
|
|
|-
|Banners
|
|{{tl|Right now}}<br>(Blue with time and number of Wikipedia articles)<br>{{tl|Right now (User message)}}<br>(Orange with time and number of Wikipedia articles
|
|
|-
|Timestamp
|
|{{tl|Timestamp}}<br>(Format YYYYMMDDHHMMSS)<br>
|
|
|}
----

=== Single units of time ===
{| class="wikitable"
|+
!Unit of time
!Adjustable
!Current
!Last
!Next
|-
|SECOND
|
|{{tl|CURRENTSECOND}}
|
|
|-
|MINUTE
|
|{{tl|CURRENTMINUTE}}
|
|
|-

|HOUR
|
|{{tl|Currenthour}}
|{{tl|Hour-1}}
|{{tl|Hour+1}}
|-

|WEEK
|
|{{tl|CURRENTWEEKOFYEAR}}<br>{{tl|CURRENTWEEKOFMONTH}}
|
|
|-

|Day of Week
|{{tl|Dow}}
|{{tl|CURRENTWEEKDAYNAME}}<br>{{tl|CURRENTWEEKDAYABBREV}}<br>{{tl|CURRENTWEEKDAY}}
|{{tl|LASTWEEKDAYNAME}}<br>{{tl|LASTWEEKDAYABBREV}}
|{{tl|NEXTWEEKDAYNAME}}<br>{{tl|NEXTWEEKDAYABBREV}}
|-
|MONTH
|{{tl|MONTHNAME}}<br>{{tl|MONTHABBREV}}<br>{{tl|MONTHNUMBER}}<br>{{tl|MONTH}} (zero padded)
|{{tl|Currentmonth}}<br>{{tl|CURRENTMONTHABBREV}}<br>{{tl|CURRENTMONTHNUMBER}}<br>{{tl|CURRENTMONTHDAYS}}
|{{tl|LASTMONTH}}<br>(Can make not zero-padded)<br>{{tl|LASTMONTHNAME}}<br>{{tl|LASTMONTHABBR}}
|{{tl|NEXTMONTH}}<br>(Can make not zero-padded)<br>{{tl|NEXTMONTHNAME}}<br>{{tl|NEXTMONTHABBR}}
|-
|Day of Month
|
|{{tl|Currentday}}
|
|
|-
|YEAR
|
|{{tl|CURRENTYEARCC}}<br>{{tl|CURRENTYEARYY}}<br>{{tl|CURRENTISOYEAR}}<br>{{Tl|CURRENTYEAR}}
|{{tl|LASTYEAR}}
|{{tl|NEXTYEAR}}
|-
|Day of Year
|
|{{tl|CURRENTDAYOFYEAR}}
|
|
|-
|CENTURY
|{{tl|CENTURY}}
|{{tl|CURRENTCENTURY}}
|{{tl|LASTCENTURY}}
|{{tl|NEXTCENTURY}}
|-
|MILLENNIUM
|{{tl|MILLENNIUM}}
|{{tl|Currentmillennium}}
|
|
|}

=== Date and time Templates made for substitution: ===

'''Month:'''<br>{{tl|Lmonth}} produces {{Lmonth}}<br>{{tl|Nmonth}} produces {{Nmonth}}<br>{{tl|LastMonth}} produces {{LastMonth}}<br>{{tl|NextMonth}} produces {{NextMonth}}

----
==== Individual Templates ====
*{{tl|Calendar}}
*{{tl|Calendar clock with Wikipedia stats}}
*{{tl|Clock}}
*{{tl|Digital clock}}
*{{tl|Digital clock and date}}

==== Categories of Templates ====
* [[:Category:Time, date and calendar templates]]
* [[:Category:Date-computing templates]]
* [[:Category:Date-computing templates based on current time]]
* [[:Category:ISO date templates]]
* [[:Category:Calendar templates]]
* [[:Category:Clock templates]]<noinclude>
{{documentation}}
</noinclude>
Anonymous user

Navigation menu