Template:CURRENTISOYEAR: Difference between revisions
Jump to navigation
Jump to search
m Protected "Template:CURRENTISOYEAR": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)) |
(No difference)
|
Revision as of 00:28, 19 January 2018
2025
This templates returns the ISO year number for today (as set by UTC time on the Wikipedia server).
The ISO year (always equal to the gregorian year between January the 4th, in ISO week 1, and December the 28th) always includes an integer number, 52 or 53, of ISO weeks starting each on Monday and ending on Sunday; the ISO year may be smaller (by 1) on the first zero to three days of January, and may be larger (by 1) on the last zero to three days of December.
Usage
{{CURRENTISOYEAR}} gives 2025
See also
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}} | |||
| WEEK | {{CURRENTWEEK}} {{CURRENTWEEKOFMONTH}} |
|||
| Day of Week | {{Dow}} | {{CURRENTDAYNAME}} {{CURRENTWEEKDAYABBREV}} {{CURRENTWEEKDAY}} |
||
| MONTH | {{MONTHNAME}} {{MONTHABBREV}} {{MONTHNUMBER}} {{MONTH}} (zero padded) |
{{CURRENTMONTHNAME}} {{CURRENTMONTHABBREV}} {{CURRENTMONTH1}} {{CURRENTMONTHDAYS}} |
{{LASTMONTHNAME}} | {{NEXTMONTHNAME}} |
| Day of Month | {{CURRENTDAY}} {{CURRENTDAY2}} (zero padded) |
|||
| YEAR | {{CURRENTYEARCC}} {{CURRENTYEARYY}} {{CURRENTISOYEAR}} {{CURRENTYEAR}} |
{{LASTYEAR}} | {{NEXTYEAR}} | |
| Day of Year | {{CURRENTDAYOFYEAR}} | |||
| DECADE | {{DECADE}} | {{CURRENTDECADE}} | ||
| CENTURY | {{CENTURY}} | {{CURRENTCENTURY}} | ||
| MILLENNIUM | {{MILLENNIUM}} |
Date and time templates made for substitution:
Month:
{{Lmonth}} produces Oct
{{Nmonth}} produces Dec
{{LastMonth}} produces October 2025
{{NextMonth}} produces December 2025
Individual templates
- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}