Template:Days Left/sandbox
0
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Days Left (diff). See also the companion subpage for test cases. |
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 208 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 4609 days left until 32-bit Unix timestamps overflow.