Template:Relative date/doc
Appearance
The Relative date template is a template for giving the amount of time before or after a date.
Syntax
|1=- the year of the date|2=- the month of the date|3=- the day of the date
Examples
| Code | Result |
|---|---|
{{relative date|2026|01|25}}
|
January 25, 2026 |
{{relative date|2026|01|1}}
|
January 1, 2026 |
{{relative date|2025|01|1}}
|
January 1, 2025 |