Template:Time/old/doc
This is a documentation subpage for Template:Time/old. It may contain usage information, categories and other content that is not part of the original template page. |
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}} | 20:56, December 14, 2024 UTC ( ) |
{{time/old|HST}} | 10:56, December 14, 2024 HST ( ) |
{{time/old|AleutST}} | 10:56, December 14, 2024 AleutT ( ) |
{{time/old|AKST}} | 11:56, December 14, 2024 AKT ( ) |
{{time/old|PST}} | 12:56, December 14, 2024 PT ( ) |
{{time/old|MST}} | 13:56, December 14, 2024 MT ( ) |
{{time/old|CST}} | 14:56, December 14, 2024 CT ( ) |
{{time/old|EST}} | 15:56, December 14, 2024 ET ( ) |
{{time/old|AST}} | 16:56, December 14, 2024 AT ( ) |
{{time/old|NST}} | 17:26, December 14, 2024 NT ( ) |
{{time/old|PMST}} | 17:56, December 14, 2024 PMT ( ) |
{{time/old|WGT}} | 17:56, December 14, 2024 WGT ( ) |
{{time/old|UTC}} | 20:56, December 14, 2024 UTC ( ) |
{{time/old|GMT}} | 20:56, December 14, 2024 GMT / BST ( ) |
{{time/old|CET}} | 21:56, December 14, 2024 CET / CEST ( ) |
{{time/old|EET}} | 22:56, December 14, 2024 EET ( ) |
{{time/old|IST}} | 02:26, December 15, 2024 IST ( ) |
{{time/old|WIT}} | 03:56, December 15, 2024 WIT ( ) |
{{time/old|BT}} | 04:56, December 15, 2024 BT ( ) |
{{time/old|EIT}} | 05:56, December 15, 2024 EIT ( ) |
{{time/old|JST}} | 05:56, December 15, 2024 JST ( ) |
{{time/old|NTT}} | 06:26, December 15, 2024 NTT ( ) |
{{time/old|ChST}} | 06:56, December 15, 2024 ChST ( ) |
{{time/old|NZST}} | 09:56, December 15, 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}}