Difference between revisions of "Template:Infobox time zone (North America)/calc"
Jump to navigation
Jump to search
imported>EX-Chute m |
imported>Trappist the monk |
||
| 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}}))}} | ||
| − | |||
|year ={{#time:Y|{{{hoff|-5}}} hours {{{moff|0}}} min}} | |year ={{#time:Y|{{{hoff|-5}}} 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 | ||
| − | |||
|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}}} | ||
| − | |||
}} | }} | ||