ଛାଞ୍ଚ:Daylight saving in time zone/doc
This template returns either 1 or 0 to indicate if Daylight Saving Time (DST) is active in the given time zone:
1 | DST is active |
0 | DST is not active |
See below for the currently supported time zones. Note that if DST is only partially observed in a certain time zone, this template returns 1 if DST is active in that part (even though it is not observed/active in the other part).
Usage
ସମ୍ପାଦନା{{Daylight saving in time zone|time zone}}
where
- time zone is the desired time zone abbreviation (see below and also the list of time zone abbreviations);
If no time zone is given or if the given time zone is not supported, then the output will default to 0.
Supported time zones
ସମ୍ପାଦନାCurrently the following time zones are supported:
Abbreviations | Name | Offset (summer) | Notes |
---|---|---|---|
PT / PST (PDT) | Pacific Standard(/Daylight) Time | UTC-08:00 (UTC-07:00) | The *T, *ST and *DT variants of a particular time zone are considered the same region and will produce the same output, thus they can be used interchangeably. |
MT / MST (MDT) | Mountain Standard(/Daylight) Time | UTC-07:00 (UTC-06:00) | |
CT / CST (CDT) | Central Standard(/Daylight) Time | UTC-06:00 (UTC-05:00) | |
ET / EST (EDT) | Eastern Standard(/Daylight) Time | UTC-05:00 (UTC-04:00) | |
WET (WEST) | Western European (Summer) Time | UTC+00:00 (UTC+01:00) | Both the *ET and *EST variants of a particular time zone are considered the same region and will produce the same output, thus they can be used interchangeably. |
CET (CEST) | Central European (Summer) Time | UTC+01:00 (UTC+02:00) | |
EET (EEST) | Eastern European (Summer) Time | UTC+02:00 (UTC+03:00) | |
AWT / AWST | Australian Western Standard Time | UTC+08:00 | The *T, *ST and *DT variants of a particular time zone are considered the same region and will produce the same output, thus they can be used interchangeably. |
ACT / ACST (ACDT) | Australian Central Standard(/Daylight) Time | UTC+09:30 (UTC+10:30) | |
AET / AEST (AEDT) | Australian Eastern Standard(/Daylight) Time | UTC+10:00 (UTC+11:00) |
Examples
ସମ୍ପାଦନା(You may want to
this page to update the output.)*{{Daylight saving in time zone|CET}}
produces
- ଛାଞ୍ଚ ଲୁପ (Template loop) ଦେଖିବାକୁ ମିଳିଲା: ଛାଞ୍ଚ:Daylight saving in time zone
*{{Daylight saving in time zone|CEST}}
produces
- ଛାଞ୍ଚ ଲୁପ (Template loop) ଦେଖିବାକୁ ମିଳିଲା: ଛାଞ୍ଚ:Daylight saving in time zone
*{{Daylight saving in time zone|PT}}
produces
- ଛାଞ୍ଚ ଲୁପ (Template loop) ଦେଖିବାକୁ ମିଳିଲା: ଛାଞ୍ଚ:Daylight saving in time zone