• Home
  • Random
  • Recent changes
  • Special pages
  • Community portal
  • Settings
  • About The Furrydelphia Wiki
  • Disclaimers
The Furrydelphia Wiki
  • Talk
  • Contributions
  • Create account
  • Log in

Template:Days since

  • Language
  • Watch
  • Edit
    • What links here
    • Permanent link
    • Page information
    • Furrydelphia
    • Edit full page
File:Test Template Info-Icon - Version (2).svg Template documentationviewedithistorypurge

{{#ifeq:days since |doc

    | 

{{#ifeq:show |show

|
iconThis is a documentation subpage for Template:Days since{{#if:||.}}
It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}.
        }}{{#if:|
         |{{#ifexist:Template:Days since
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

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

Usage

edit

This template is a facade for {{Time ago}} which invokes that template to specifically return an integer of the amount of days since a given timestamp. {{Time ago}} is a larger template, with many more options, that can be used for more customized output.

There are two ways to use this template:

  • With three parameters YYYY-MM-DD: {{Days since|2026|06|13}}
  • With one parameter. If this is done, the date MUST be formatted in one of these four ways:
    • 03 Dec 1969
    • 03 December 1969
    • 3 Dec 1969
    • 3 December 1969

Using this template with a single parameter is identical to using {{Time ago|03 Dec 1969|magnitude=days|ago=|numeric=y}}.

{{Days since|1 Jan 2026}} produces: {{#if:|Error: first parameter cannot be parsed as a date or time.|322}}

{{Days since|2026|06|13}} produces: {{#if:13|Error: first parameter cannot be parsed as a date or time.|0}}

{{Days since|31 December 1969}} produces: {{#if:|Error: first parameter cannot be parsed as a date or time.|20777}}

{{safesubst:#if:{{safesubst:#ifeq:Days si|sandbox|1}}{{safesubst:#ifeq:Days since|doc|1}}|| }}

See also

edit
  • Template:Time ago – more expansive set of functions, of which this template is a subset.
  • Template:Birth date and age – show birthdate and age in years
  • Template:Years and days – show years and days for a count in days

{{safesubst:#if:{{safesubst:#ifeq:Days si|sandbox|1}}{{safesubst:#ifeq:Days since|doc|1}}||}}

The above documentation is transcluded from Template:Days since/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://www.furrydelphia.wiki/index.php?title=Template:Days_since&oldid=524"
Last edited on 29 June 2026, at 08:47

Languages

    This page is not available in other languages.

    The Furrydelphia Wiki
    • Powered by MediaWiki
    • This page was last edited on 29 June 2026, at 08:47.
    • Privacy policy
    • About The Furrydelphia Wiki
    • Disclaimers
    • Desktop