Šablon:Time

S Vikipedije, slobodne enciklopedije
Dokumentacija šablona[prikaži] [uredi] [istorija] [osveži]

{{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[uredi izvor]

Code Result
{{time}} 21:18, 18. april 2024. UTC (osveži)
{{time|HST}} 11:18, 18. april 2024. HST (osveži)
{{time|AleutST}} 12:18, 18. april 2024. AleutT (osveži)
{{time|AKST}} 13:18, 18. april 2024. AKT (osveži)
{{time|PST}} 14:18, 18. april 2024. PT (osveži)
{{time|MST}} 15:18, 18. april 2024. MT (osveži)
{{time|CST}} 16:18, 18. april 2024. CT (osveži)
{{time|EST}} 17:18, 18. april 2024. ET (osveži)
{{time|AST}} 18:18, 18. april 2024. AT (osveži)
{{time|NST}} 18:48, 18. april 2024. NT (osveži)
{{time|PMST}} 19:18, 18. april 2024. PMT (osveži)
{{time|WGT}} 19:18, 18. april 2024. WGT (osveži)
{{time|UTC}} 21:18, 18. april 2024. UTC (osveži)
{{time|GMT}} 22:18, 18. april 2024. GMT / BST (osveži)
{{time|CET}} 23:18, 18. april 2024. CET / CEST (osveži)
{{time|EET}} 00:18, 19. april 2024. EET (osveži)
{{time|IST}} 02:48, 19. april 2024. IST (osveži)
{{time|WIT}} 04:18, 19. april 2024. WIT (osveži)
{{time|BT}} 05:18, 19. april 2024. BT (osveži)
{{time|EIT}} 06:18, 19. april 2024. EIT (osveži)
{{time|JST}} 06:18, 19. april 2024. JST (osveži)
{{time|NTT}} 06:48, 19. april 2024. NTT (osveži)
{{time|ChST}} 07:18, 19. april 2024. ChST (osveži)
{{time|NZST}} Greška: nevažeće vreme. NZST (osveži)

Subtemplates[uredi izvor]

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[uredi izvor]

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 Kategorija:Pages with incorrect formatting templates use.

See also[uredi izvor]