Template:Usdst

From Geohashing
Revision as of 05:03, 3 July 2008 by imported>Tjtrumpet2323 (New page: {{#vardefine:year|{{#time:Y|{{{1|{{CURRENTTIMESTAMP}}}}} }}}}{{#vardefine:remainder|{{#time:mdHi|{{{1|{{CURRENTTIMESTAMP}}}}} }}}}{{#ifexpr: {{#var:year}} <= 2006 | {{#ifexpr: ({{#var:rema...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

0

Usage

{{usdst}}

  • 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.
  • For simplicity's sake, this template applies DST rules used from 1987-2006 to all years 1986 and prior.
  • This template currently extends the current (2007) DST rules to all years following. Further DST legislation in the United States may require updates to this template.