Template:Countdown: Difference between revisions

Template page
(Creating new template, hoping it works :P)
 
m (adding note)
Line 4: Line 4:
== Documentation ==
== Documentation ==
This template displays the amount of days between two different dates.
This template displays the amount of days between two different dates.
'''Note:''' This template does not work across years.
=== Syntax ===
=== Syntax ===
:{{tlp|{{PAGENAME}}|''year1''|''month1''|''day1''|''year2''|''month2''|''day2''}}
:{{tlp|{{PAGENAME}}|''year1''|''month1''|''day1''|''year2''|''month2''|''day2''}}

Revision as of 17:17, 1 August 2007

Documentation

This template displays the amount of days between two different dates.

Note: This template does not work across years.

Syntax

{{Countdown|year1|month1|day1|year2|month2|day2}}
Displays the difference between the two dates given.
{{Countdown|year1|month1|day1}}
Displays the difference between the given date and today.

Examples

{{Countdown|2007|11|24}}

265

{{Countdown|2007|11|24|2007|07|31}}

116