Template:Time/AST offset
-3 hours
This is a subtemplate of {{Time}}. Do not use this template directly. Instead use {{Time}}.
{{Time}} displays the current time in a certain timezone. The time is calculated based on the offset from UTC for the specified timezone taking into account whether daylight saving time is currently active in that timezone. The offset for each implemented timezone is calculated in a sub template (except for UTC).
Note: Most Wikipedia pages display a cached version of the page to reduce server load, so the template will only display the current time as of when the page was last parsed.
Usage
{{Time}} |
→ | 15:28, November 2, 2024 (UTC) ( ) |
{{Time|HST}} |
→ | 05:28, November 2, 2024 (HST) ( ) |
{{Time|AleutST}} |
→ | 06:28, November 2, 2024 (AleutT) ( ) |
{{Time|AKST}} |
→ | 07:28, November 2, 2024 (AkT) ( ) |
{{Time|PST}} |
→ | 08:28, November 2, 2024 (PT) ( ) |
{{Time|MST}} |
→ | 09:28, November 2, 2024 (MT) ( ) |
{{Time|CST}} |
→ | 10:28, November 2, 2024 (CT) ( ) |
{{Time|EST}} |
→ | 11:28, November 2, 2024 (ET) ( ) |
{{Time|AST}} |
→ | 12:28, November 2, 2024 (AT) ( ) |
{{Time|NST}} |
→ | 12:58, November 2, 2024 (NT) ( ) |
{{Time|PMST}} |
→ | 13:28, November 2, 2024 (PMT) ( ) |
{{Time|WGT}} |
→ | 12:28, November 2, 2024 (WGT) ( ) |
{{Time|UTC}} |
→ | 15:28, November 2, 2024 (UTC) ( ) |
{{Time|GMT}} |
→ | 15:28, November 2, 2024 (GMT / BST) ( ) |
{{Time|CET}} |
→ | 16:28, November 2, 2024 (CET / CEST) ( ) |
{{Time|EET}} |
→ | 17:28, November 2, 2024 (EET) ( ) |
{{Time|IST}} |
→ | 20:58, November 2, 2024 (IST) ( ) |
{{Time|WIT}} |
→ | 22:28, November 2, 2024 (WIT) ( ) |
{{Time|BT}} |
→ | 23:28, November 2, 2024 (BT) ( ) |
{{Time|AWST}} |
→ | 23:28, November 2, 2024 (AWST) ( ) |
{{Time|EIT}} |
→ | 00:28, November 3, 2024 (EIT) ( ) |
{{Time|JST}} |
→ | 00:28, November 3, 2024 (JST) ( ) |
{{Time|NTT}} |
→ | 00:58, November 3, 2024 (ACST) ( ) |
{{Time|SAT}} |
→ | 01:58, November 3, 2024 (ACST/ACDT) ( ) |
{{Time|QT}} |
→ | 01:28, November 3, 2024 (AEST) ( ) |
{{Time|AEST}} |
→ | 02:28, November 3, 2024 (AEST/AEDT) ( ) |
{{Time|ChST}} |
→ | 01:28, November 3, 2024 (ChST) ( ) |
{{Time|NZST}} |
→ | 04:28, November 3, 2024 (NZST) ( ) |
Sub templates
These templates are used to calculate the current offset from UTC for each timezone, taking into account whether daylight saving time is active or not.
Europe
- {{Time/GMT offset}}
- {{Time/CET offset}}
- {{Time/EET offset}}
North America (and US Pacific)
- {{Time/ChST offset}} (also used for Queensland)
- {{Time/HST offset}}
- {{Time/AleutST offset}}
- {{Time/AKST offset}}
- {{Time/PST offset}}
- {{Time/MST offset}}
- {{Time/CST offset}}
- {{Time/EST offset}}
- {{Time/AST offset}}
- {{Time/NST offset}}
- {{Time/PMST offset}}
- {{Time/WGT offset}}
Asia and Oceania
- {{Time/IST offset}}
- {{Time/JST offset}}
- {{Time/BT offset}} (also used for AWST)
- {{Time/WIT offset}}
- {{Time/EIT offset}}
- {{Time/NTT offset}}
- {{Time/SAT offset}}
- {{Time/AEST offset}}
- {{Time/NZST offset}}
Errors
Specifying an unimplemented timezone in the first argument will result in an error, which is displayed using {{FormattingError}}. Pages that contain incorrect use of this template will show up on Category:Pages using formatting templates incorrectly.
The above documentation is transcluded from Template:Time/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |