Changes
Template:Current minute in time zone/doc (view source)
Revision as of 21:04, 30 September 2018
, 6 years ago→Related templates
{{Documentation subpage}}
This template gives the current minute in the given [[time zone]].
It makes use of {{tl|Current minute offset in time zone}}.
This template can be used in conjunction with {{tl|Current hour in time zone}} to get the current time in a particular time zone. See below for the currently supported time zones.
==Usage==
<pre>{{Current minute in time zone|''time zone''}}</pre>
where
*''time zone'' is the desired time zone abbreviation (see below and also the [[list of time zone abbreviations]]);<br />If no time zone is given or if the given time zone is not supported, then the output will default to the current minute of [[UTC±0]] time;<br />In this case, instead of giving a time zone, an '''offset''' (e.g. 30, 45, etc.) can also be given to get the current minute of UTC+00:''offset'' time.
==Supported time zones==
Currently the following time zones are supported:
{{Current minute offset in time zone/doc|table}}
==Time zone map==
[[File:Worldwide Time Zones (including DST).png|center|800px]]
==Examples==
<small>(You may want to {{Purge|purge}} this page to update the output.)</small>
<pre>*{{Current minute in time zone|CET}}</pre>
produces
*{{Current minute in time zone|CET}}
<pre>*{{Current minute in time zone|ACT}}</pre>
produces
*{{Current minute in time zone|ACT}}
<pre>*{{Current minute in time zone|NT}}</pre>
produces
*{{Current minute in time zone|NT}}
<pre>*{{Current minute in time zone|45}}</pre>
produces
*{{Current minute in time zone|45}}
<pre>*{{Current minute in time zone}}</pre>
produces
*{{Current minute in time zone}}
<pre>*{{Current hour in time zone|ACT}}:{{Current minute in time zone|ACT}}</pre>
produces
*{{Current hour in time zone|ACT}}:{{Current minute in time zone|ACT}}
==Related templates==
{{Current time templates}}
This template gives the current minute in the given [[time zone]].
It makes use of {{tl|Current minute offset in time zone}}.
This template can be used in conjunction with {{tl|Current hour in time zone}} to get the current time in a particular time zone. See below for the currently supported time zones.
==Usage==
<pre>{{Current minute in time zone|''time zone''}}</pre>
where
*''time zone'' is the desired time zone abbreviation (see below and also the [[list of time zone abbreviations]]);<br />If no time zone is given or if the given time zone is not supported, then the output will default to the current minute of [[UTC±0]] time;<br />In this case, instead of giving a time zone, an '''offset''' (e.g. 30, 45, etc.) can also be given to get the current minute of UTC+00:''offset'' time.
==Supported time zones==
Currently the following time zones are supported:
{{Current minute offset in time zone/doc|table}}
==Time zone map==
[[File:Worldwide Time Zones (including DST).png|center|800px]]
==Examples==
<small>(You may want to {{Purge|purge}} this page to update the output.)</small>
<pre>*{{Current minute in time zone|CET}}</pre>
produces
*{{Current minute in time zone|CET}}
<pre>*{{Current minute in time zone|ACT}}</pre>
produces
*{{Current minute in time zone|ACT}}
<pre>*{{Current minute in time zone|NT}}</pre>
produces
*{{Current minute in time zone|NT}}
<pre>*{{Current minute in time zone|45}}</pre>
produces
*{{Current minute in time zone|45}}
<pre>*{{Current minute in time zone}}</pre>
produces
*{{Current minute in time zone}}
<pre>*{{Current hour in time zone|ACT}}:{{Current minute in time zone|ACT}}</pre>
produces
*{{Current hour in time zone|ACT}}:{{Current minute in time zone|ACT}}
==Related templates==
{{Current time templates}}