Difference between revisions of "Template:LASTYEAR"
(No difference)
|
Revision as of 04:45, 26 August 2018
2023
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
Display the current year offset by one ie. current year - 1 year. If the first parameter is set (optional), it will offset by that number of years backwards.
- example 1
{{LASTYEAR}}
- displays
- 2023
- example 2
{{LASTYEAR|4}}
- displays
- 2020
See also
-
{{CURRENTYEAR}}
-
{{NEXTYEAR}}
Template:Calendar, clock, date and time computing templates
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |