1

Documentation icon.png Template documentation[edit] [purge]
This documentation is transcluded from Template:Dst/doc.

This template determines whether daylight saving time is currently in effect.

Syntax

{{dst|rule|datetime}}

Usage

This template determines whether daylight saving time is currently in effect. Since DST starts and ends at different times for different locations, three DST rules are supported: one for the US/Canada, one for Europe (which uses the same rule throughout), and one for Australia, excluding Tasmania (which is on a slightly different rule).

In North America and Australia, time switches between DST and standard at a certain local time, so this template may be a few hours early or late to update depending on your location. Time changes in all of Europe at 1:00 UTC, so this isn't an issue there.

Depending on the DST rule desired, "us", "uk", "aus" or "none" should be given as parameter to this template (defaults to "us").

By default, the DST given is for the current data and time. If the DST for a different datetime is desired, then this can be obtained by specifying the datetime string.

Community content is available under CC-BY-SA unless otherwise noted.