Difference between revisions of "Template:Current daylight saving offset in North America"
Jump to navigation
Jump to search
imported>Wbm1058 (Undid revision 666228969 by Zorroplese (talk) ? ? ?) |
imported>BrandonXLF |
||
| Line 1: | Line 1: | ||
{{#expr: {{CURRENTYEAR}}03{{#ifexpr: {{weekday in month|second|sunday|march|{{CURRENTYEAR}}}} < 10 | 0}}{{weekday in month|second|sunday|march|{{CURRENTYEAR}}}}{{#switch:{{{offset}}}|-3.5|-3:30=05|-4=06|-5=07|-6=08|-7=09|-8=10|-9=11|-10=12|#default=06}}{{#switch:{{{offset}}}|-3.5|-3:30=30|#default=00}}00 < {{CURRENTTIMESTAMP}} and {{CURRENTTIMESTAMP}} <= {{CURRENTYEAR}}110{{weekday in month|first|sunday|november|{{CURRENTYEAR}}}}{{#switch:{{{offset}}}|-3.5|-3:30=05|-4=06|-5=07|-6=08|-7=09|-8=10|-9=11|-10=12|#default=06}}{{#switch:{{{offset}}}|-3.5|-3:30=30|#default=00}}00}} | {{#expr: {{CURRENTYEAR}}03{{#ifexpr: {{weekday in month|second|sunday|march|{{CURRENTYEAR}}}} < 10 | 0}}{{weekday in month|second|sunday|march|{{CURRENTYEAR}}}}{{#switch:{{{offset}}}|-3.5|-3:30=05|-4=06|-5=07|-6=08|-7=09|-8=10|-9=11|-10=12|#default=06}}{{#switch:{{{offset}}}|-3.5|-3:30=30|#default=00}}00 < {{CURRENTTIMESTAMP}} and {{CURRENTTIMESTAMP}} <= {{CURRENTYEAR}}110{{weekday in month|first|sunday|november|{{CURRENTYEAR}}}}{{#switch:{{{offset}}}|-3.5|-3:30=05|-4=06|-5=07|-6=08|-7=09|-8=10|-9=11|-10=12|#default=06}}{{#switch:{{{offset}}}|-3.5|-3:30=30|#default=00}}00}} | ||
<noinclude> | <noinclude> | ||
| − | {{documentation | + | {{documentation}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 23:53, 16 August 2018
Expression error: Unrecognized word "strong".
Usage
This template gives the current daylight saving offset in North America. The local time depends on the time zone. This template will automate the changes in daylight saving offset.
| Summer Time[{{fullurl:Template:Transclude|action=edit}} edit] | ||
|---|---|---|
| Year | Summer Time begins/ends[1] on |
Summer Time ends/begins[2] on |
| 2026 | Template:Weekday in month March | Template:Weekday in month November |
| 2027 | Template:Weekday in month March | Template:Weekday in month November |
| 2028 | Template:Weekday in month March | Template:Weekday in month November |
| 2029 | Template:Weekday in month March | Template:Weekday in month November |
| 2030 | Template:Weekday in month March | Template:Weekday in month November |
| 2031 | Template:Weekday in month March | Template:Weekday in month November |
| 2032 | Template:Weekday in month March | Template:Weekday in month November |
Notes
| The above documentation is transcluded from Template:Current daylight saving offset in North America/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |