Difference between revisions of "Template:Isusdst"

From Geohashing
imported>Tjtrumpet2323
m
imported>Tjtrumpet2323
m
Line 21: Line 21:
 
  | 12 = 0
 
  | 12 = 0
 
  | #default = 0
 
  | #default = 0
}}
+
}}<noinclude>
<noinclude>
 
 
== Usage ==
 
== Usage ==
 
<code><nowiki>{{isusdst}}</nowiki></code>
 
<code><nowiki>{{isusdst}}</nowiki></code>

Revision as of 20:16, 26 May 2008

0

Usage

{{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) on the second Sunday in March through 02:00 (local) 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.