Difference between revisions of "Template:LASTYEAR"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 15:31, 8 November 2018
2023
Template documentation
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. |