Template:Days Left/doc
![]() | This is a documentation subpage for Template:Days Left. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
Sparate parameters
{{Days Left|day= |month= |year= }}
or
{{Days Left |day= |month= |year= }}
Date string
Alternately, the template can be called with any date string recognized by the #time
function as its only unnamed parameter:
{{Days Left|YYYY-mm-dd}}
Examples
<syntaxhighlight lang="wikitext">There are {{Days Left|day=01 |month=01 |year=2026}} days left until the New Year.</syntaxhighlight>There are 211 days left until the New Year.
<syntaxhighlight lang="wikitext">There are {{Days Left|2038-01-19 03:14:07 UTC}} days left until 32-bit Unix timestamps overflow.</syntaxhighlight>There are 4612 days left until 32-bit Unix timestamps overflow.