Template:Time/PST offset
-8 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}} | 12:23, December 29, 2024 UTC ( ) |
{{time/old|HST}} | 02:23, December 29, 2024 HST ( ) |
{{time/old|AleutST}} | 02:23, December 29, 2024 AleutT ( ) |
{{time/old|AKST}} | 03:23, December 29, 2024 AKT ( ) |
{{time/old|PST}} | 04:23, December 29, 2024 PT ( ) |
{{time/old|MST}} | 05:23, December 29, 2024 MT ( ) |
{{time/old|CST}} | 06:23, December 29, 2024 CT ( ) |
{{time/old|EST}} | 07:23, December 29, 2024 ET ( ) |
{{time/old|AST}} | 08:23, December 29, 2024 AT ( ) |
{{time/old|NST}} | 08:53, December 29, 2024 NT ( ) |
{{time/old|PMST}} | 09:23, December 29, 2024 PMT ( ) |
{{time/old|WGT}} | 09:23, December 29, 2024 WGT ( ) |
{{time/old|UTC}} | 12:23, December 29, 2024 UTC ( ) |
{{time/old|GMT}} | 12:23, December 29, 2024 GMT / BST ( ) |
{{time/old|CET}} | 13:23, December 29, 2024 CET / CEST ( ) |
{{time/old|EET}} | 14:23, December 29, 2024 EET ( ) |
{{time/old|IST}} | 17:53, December 29, 2024 IST ( ) |
{{time/old|WIT}} | 19:23, December 29, 2024 WIT ( ) |
{{time/old|BT}} | 20:23, December 29, 2024 BT ( ) |
{{time/old|EIT}} | 21:23, December 29, 2024 EIT ( ) |
{{time/old|JST}} | 21:23, December 29, 2024 JST ( ) |
{{time/old|NTT}} | 21:53, December 29, 2024 NTT ( ) |
{{time/old|ChST}} | 22:23, December 29, 2024 ChST ( ) |
{{time/old|NZST}} | 01:23, December 30, 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}}