Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Countdown: Difference between revisions

Template page
Catrope (talk | contribs)
m rm newlines
Catrope (talk | contribs)
+known issue
Line 15: Line 15:
:{{tlp|{{PAGENAME}}|2007|11|24|2007|07|31}}
:{{tlp|{{PAGENAME}}|2007|11|24|2007|07|31}}
::{{{{PAGENAME}}|2007|11|24|2007|07|31}}
::{{{{PAGENAME}}|2007|11|24|2007|07|31}}
=== Known issues ===
* This template does not work across year boundaries, i.e. <code><nowiki>{{Countdown|2008|1|8|2007|12|31}}</nowiki></code> returns {{Countdown|2008|1|8|2007|12|31}}


[[Category:Mathematical templates|{{PAGENAME}}]]
[[Category:Mathematical templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 19:49, 16 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}}
-29
{{Countdown|2007|11|24|2007|07|31}}
116

Known issues

  • This template does not work across year boundaries, i.e. {{Countdown|2008|1|8|2007|12|31}} returns -8