Template:Time/HST offset
-10 hours
![]() | Template:Time/old is deprecated, and is preserved only for historical reasons. Please see Template:Time instead. |
{{Time/old}} 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
[edit]Code | Result |
---|---|
{{time/old}} | 18:02, September 7, 2024 UTC ( ) |
{{time/old|HST}} | 08:02, September 7, 2024 HST ( ) |
{{time/old|AleutST}} | 09:02, September 7, 2024 AleutT ( ) |
{{time/old|AKST}} | 10:02, September 7, 2024 AKT ( ) |
{{time/old|PST}} | 11:02, September 7, 2024 PT ( ) |
{{time/old|MST}} | 12:02, September 7, 2024 MT ( ) |
{{time/old|CST}} | 13:02, September 7, 2024 CT ( ) |
{{time/old|EST}} | 14:02, September 7, 2024 ET ( ) |
{{time/old|AST}} | 15:02, September 7, 2024 AT ( ) |
{{time/old|NST}} | 15:32, September 7, 2024 NT ( ) |
{{time/old|PMST}} | 16:02, September 7, 2024 PMT ( ) |
{{time/old|WGT}} | 16:02, September 7, 2024 WGT ( ) |
{{time/old|UTC}} | 18:02, September 7, 2024 UTC ( ) |
{{time/old|GMT}} | 19:02, September 7, 2024 GMT / BST ( ) |
{{time/old|CET}} | 20:02, September 7, 2024 CET / CEST ( ) |
{{time/old|EET}} | 21:02, September 7, 2024 EET ( ) |
{{time/old|IST}} | 23:32, September 7, 2024 IST ( ) |
{{time/old|WIT}} | 01:02, September 8, 2024 WIT ( ) |
{{time/old|BT}} | 02:02, September 8, 2024 BT ( ) |
{{time/old|EIT}} | 03:02, September 8, 2024 EIT ( ) |
{{time/old|JST}} | 03:02, September 8, 2024 JST ( ) |
{{time/old|NTT}} | 03:32, September 8, 2024 NTT ( ) |
{{time/old|ChST}} | 04:02, September 8, 2024 ChST ( ) |
{{time/old|NZST}} | 06:02, September 8, 2024 NZST ( ) |
Subtemplates
[edit]- Offset
Links to the subtemplates used to calculate the current offset from UTC for each timezone (taking into account whether daylight saving time is active or not):
Errors
[edit]Specifying an unimplemented timezone in the first argument will trigger a {{formatting error}} and the addition of the page where the template is transcluded to Category:Pages with incorrect formatting templates use.
See also
[edit]- {{currentdate}}
- {{now}}