Difference between revisions of "Template:Infobox time zone (North America)/calc"

From blackwiki
Jump to navigation Jump to search
imported>EX-Chute
m
imported>Trappist the monk
m (Reverted edits by EX-Chute (talk) to last version by Jimp)
Line 1: Line 1:
 
{{Infobox time zone (North America)/main
 
{{Infobox time zone (North America)/main
 
|dst    ={{#expr:({{#time:ndH|{{{hoff|-5}}} hours {{{moff|0}}} min}}>=(31402-{{#time:w00|0 mar}}))+({{#time:ndH|{{{hoff|-5}}} hours {{{moff|0}}} min}}>=(110701-{{#time:w00|0 nov}}))}}
 
|dst    ={{#expr:({{#time:ndH|{{{hoff|-5}}} hours {{{moff|0}}} min}}>=(31402-{{#time:w00|0 mar}}))+({{#time:ndH|{{{hoff|-5}}} hours {{{moff|0}}} min}}>=(110701-{{#time:w00|0 nov}}))}}
|tst    ={{#expr:({{#time:ndH|{{{hoff|-5}}} hours {{{moff|0}}} min}}>=(31402-{{#time:w00|0 jun}}))+({{#time:ndH|{{{hoff|-5}}} hours {{{moff|0}}} min}}>=(110701-{{#time:w00|0 aug}}))}}
 
 
|year  ={{#time:Y|{{{hoff|-5}}} hours {{{moff|0}}} min}}
 
|year  ={{#time:Y|{{{hoff|-5}}} hours {{{moff|0}}} min}}
|ttoff  ={{#expr:{{{hoff|-5}}}+2}} hours {{{moff|0}}} min
 
 
|dtoff  ={{#expr:{{{hoff|-5}}}+1}} hours {{{moff|0}}} min
 
|dtoff  ={{#expr:{{{hoff|-5}}}+1}} hours {{{moff|0}}} min
 
|stoff  ={{{hoff|-5}}} hours {{{moff|0}}} min
 
|stoff  ={{{hoff|-5}}} hours {{{moff|0}}} min
|toff  =UTC−{{#expr:abs({{{hoff|-5}}}+2)}}:{{padleft:{{#expr:abs{{{moff|00}}}}}|2}}
 
 
|doff  =UTC−{{#expr:abs({{{hoff|-5}}}+1)}}:{{padleft:{{#expr:abs{{{moff|00}}}}}|2}}
 
|doff  =UTC−{{#expr:abs({{{hoff|-5}}}+1)}}:{{padleft:{{#expr:abs{{{moff|00}}}}}|2}}
 
|soff  =UTC−{{#expr:abs{{{hoff|-5}}}}}:{{padleft:{{#expr:abs{{{moff|00}}}}}|2}}
 
|soff  =UTC−{{#expr:abs{{{hoff|-5}}}}}:{{padleft:{{#expr:abs{{{moff|00}}}}}|2}}
Line 16: Line 13:
 
|stint  ={{{stint|EST}}}
 
|stint  ={{{stint|EST}}}
 
|dtint  ={{{dtint|EDT}}}
 
|dtint  ={{{dtint|EDT}}}
|ttint  ={{{ttint|ETT}}}
 
 
}}
 
}}

Revision as of 14:44, 19 July 2016

{{{title}}}
UTC offset
ESTUTC−5:00
EDTUTC−4:00
Current time (Script error: No such module "Purge".)
EST2:40 pm on 22 Dec 2025
Observance of DST
DST is observed throughout this time zone between the 2nd Sunday in March and the 1st Sunday in November.
DST ended2 Nov 2025
DST begins8 Mar 2026