Template:LASTYEAR/doc: Difference between revisions

Jump to navigation Jump to search
en>Plastikspork
(Moved from template)
 
m (1 revision imported)
 

Latest revision as of 21:19, 18 September 2022

Usage

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.

Examples

example 1
{{LASTYEAR}}
displays
2023
example 2
{{LASTYEAR|4}}
displays
2020

See also

Template:Calendar, clock, date and time computing templates