Template:Days since

From Safer nicotine wiki

11 years, 124 days

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

{{Days since}} shows the years/days (or months/days) since a specific date.

Usage

{{Days since|2022|01|01}} produces: 6 months ago

{{Days since|2022|01|01|short=yes}} produces: 6m

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Days since

Shows the years/days (or months/days) since the entered date.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Year

Numberrequired
22

Month

Numberrequired
33

Day

Numberrequired
shortshort

Uses "d" or "m" instead of "months" or "days" if set to "yes"

Stringoptional

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.