Jump to content

Template:Days left/sandbox: Difference between revisions

From NicheWork
w>Anohthterwikipedian
m Anohthterwikipedian moved page Template:Days Left/sandbox to Template:Days left/sandbox: Subpage fixing
 
m 1 revision imported
 
(No difference)

Latest revision as of 13:40, 19 January 2026

0

Template documentation

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

There are {{Days Left|day=01 |month=01 |year=2027}} days left until the [[New Year]].
There are 341 days left until the New Year.
There are {{Days Left|2038-01-19 03:14:07 UTC}} days left until [[Year 2038 problem|32-bit Unix timestamps overflow]].
There are 4377 days left until 32-bit Unix timestamps overflow.
There are {{Days Left|day=01 |month=01 |year=2025}} days left until last year's [[New Year]].
There are -389 days left until last year's New Year.