Template:LASTYEAR

From HandWiki
Revision as of 15:37, 30 November 2022 by MainEditor (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

2023

Template documentation[view] [edit] [history] [purge]

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