Difference between revisions of "Template:Isusdst"
From Geohashing
imported>Tjtrumpet2323 m |
imported>Tjtrumpet2323 m |
||
Line 23: | Line 23: | ||
}}<noinclude> | }}<noinclude> | ||
== Usage == | == Usage == | ||
+ | {{intricate}} | ||
<code><nowiki>{{isusdst}}</nowiki></code> | <code><nowiki>{{isusdst}}</nowiki></code> | ||
* Returns '''1''' if the United States (specifically its [[Eastern Time|Eastern Time Zone]]) are in [[wikipedia:Daylight Saving Time|Daylight Saving Time]], '''0''' if not. | * Returns '''1''' if the United States (specifically its [[Eastern Time|Eastern Time Zone]]) are in [[wikipedia:Daylight Saving Time|Daylight Saving Time]], '''0''' if not. |
Revision as of 02:55, 19 June 2008
0
Usage
This template employs features of template syntax, some of which may be too intricate for novices. Please discuss any shortcomings or faults of this template on its talk page before making any changes. You are also encouraged to contact the original creator via their user page prior to editing this template. If changes are necessary, please familiarise yourself with the template’s setup and WikiMedia parser functions before attempting to edit, or contact someone with knowledge of template syntax.
If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. |
{{isusdst}}
- Returns 1 if the United States (specifically its Eastern Time Zone) are in Daylight Saving Time, 0 if not.
- From 2007, Daylight Saving Time is observed in the United States from 02:00 local (07:00 UTC) on the second Sunday in March through 02:00 local (06:00 UTC) on the first Sunday in November.
- This template only returns the DST value for the current timestamp, and thus only is programmed to handle post-2007 DST rules.