Difference between revisions of "Template:Current hour offset in time zone/doc"
Jump to navigation
Jump to search
imported>Anthony Appleyard m (Anthony Appleyard moved page Template:Current hour offset in time zone/old/doc to Template:Current hour offset in time zone/doc without leaving a redirect: histmerge) |
imported>Anthony Appleyard (rv histmerge junk) |
||
| Line 1: | Line 1: | ||
| − | + | This template calculates the current hour offset in a time zone. | |
| − | This template | + | ==Parameters== |
| − | + | This template takes one unnamed parameter, the time zone abbreviation. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Examples== | ==Examples== | ||
| − | + | *{{Current_hour_offset_in_time_zone|EST}} | |
| − | + | :*<code><nowiki>{{Current_hour_offset_in_time_zone|EST}}</nowiki></code> | |
| − | + | ---- | |
| − | < | + | *{{Current_hour_offset_in_time_zone|IST}} |
| − | + | :*<code><nowiki>{{Current_hour_offset_in_time_zone|IST}}</nowiki></code> | |
| − | *{{ | + | ---- |
| − | + | *{{Current_hour_offset_in_time_zone|WET}} | |
| − | + | :*<code><nowiki>{{Current_hour_offset_in_time_zone|WET}}</nowiki></code> | |
| − | < | + | ---- |
| − | + | *{{Current_hour_offset_in_time_zone|NZST}} | |
| − | *{{ | + | :*<code><nowiki>{{Current_hour_offset_in_time_zone|NZST}}</nowiki></code> |
| − | + | ---- | |
| − | + | *{{Current hour offset in time zone|UTC+07:00}} | |
| − | < | + | :*<code><nowiki>{{Current_hour_offset_in_time_zone|UTC+07:00}}</nowiki></code> |
| − | + | {{Time related templates}} | |
| − | *{{ | ||
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | *{{Current hour offset in time zone | ||
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | < | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
Revision as of 04:34, 21 August 2018
This template calculates the current hour offset in a time zone.
Parameters
This template takes one unnamed parameter, the time zone abbreviation.
Examples
- -4
{{Current_hour_offset_in_time_zone|EST}}
- 0
{{Current_hour_offset_in_time_zone|IST}}
- 1
{{Current_hour_offset_in_time_zone|WET}}
- 12
{{Current_hour_offset_in_time_zone|NZST}}
- 0
{{Current_hour_offset_in_time_zone|UTC+07:00}}