Template:Time/doc
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}} |
→ | 03:21, November 24, 2024 (UTC) ( ) |
{{Time|HST}} |
→ | 17:21, November 23, 2024 (HST) ( ) |
{{Time|AleutST}} |
→ | 17:21, November 23, 2024 (AleutT) ( ) |
{{Time|AKST}} |
→ | 18:21, November 23, 2024 (AKT) ( ) |
{{Time|PST}} |
→ | 19:21, November 23, 2024 (PT) ( ) |
{{Time|MST}} |
→ | 20:21, November 23, 2024 (MT) ( ) |
{{Time|CST}} |
→ | 21:21, November 23, 2024 (CT) ( ) |
{{Time|EST}} |
→ | 22:21, November 23, 2024 (ET) ( ) |
{{Time|AST}} |
→ | 23:21, November 23, 2024 (AT) ( ) |
{{Time|NST}} |
→ | 23:51, November 23, 2024 (NT) ( ) |
{{Time|PMST}} |
→ | 00:21, November 24, 2024 (PMT) ( ) |
{{Time|WGT}} |
→ | 00:21, November 24, 2024 (WGT) ( ) |
{{Time|UTC}} |
→ | 03:21, November 24, 2024 (UTC) ( ) |
{{Time|GMT}} |
→ | 03:21, November 24, 2024 (GMT / BST) ( ) |
{{Time|CET}} |
→ | 04:21, November 24, 2024 (CET / CEST) ( ) |
{{Time|EET}} |
→ | 05:21, November 24, 2024 (EET) ( ) |
{{Time|IST}} |
→ | 08:51, November 24, 2024 (IST) ( ) |
{{Time|WIT}} |
→ | 10:21, November 24, 2024 (WIT) ( ) |
{{Time|BT}} |
→ | 11:21, November 24, 2024 (BT) ( ) |
{{Time|EIT}} |
→ | 12:21, November 24, 2024 (EIT) ( ) |
{{Time|JST}} |
→ | 12:21, November 24, 2024 (JST) ( ) |
{{Time|NTT}} |
→ | 12:51, November 24, 2024 (NTT) ( ) |
{{Time|ChST}} |
→ | 13:21, November 24, 2024 (ChST) ( ) |
{{Time|NZST}} |
→ | 16:21, November 24, 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.
- {{Time/GMT offset}}
- {{Time/CET offset}}
- {{Time/EET offset}}
- {{Time/PST offset}}
- {{Time/MST offset}}
- {{Time/IST offset}}
- {{Time/CST offset}}
- {{Time/EST offset}}
- {{Time/AST offset}}
- {{Time/AKST offset}}
- {{Time/AleutST offset}}
- {{Time/HST offset}}
- {{Time/ChST offset}}
- {{Time/JST offset}}
- {{Time/BT offset}}
- {{Time/WIT offset}}
- {{Time/EIT offset}}
- {{Time/NTT 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 with incorrect formatting templates use.
See also
- {{currentdate}}
- {{now}}