সাঁচ: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}} |
→ | 15:31, 6 November 2024 UTC [refresh] |
{{Time|HST}} |
→ | 05:31, November 6, 2024 HST [refresh] |
{{Time|AKST}} |
→ | 06:31, November 6, 2024 AKST [refresh] |
{{Time|PST}} |
→ | 07:31, November 6, 2024 PST [refresh] |
{{Time|MST}} |
→ | 08:31, November 6, 2024 MST [refresh] |
{{Time|CST}} |
→ | 09:31, November 6, 2024 CST [refresh] |
{{Time|EST}} |
→ | 10:31, November 6, 2024 EST [refresh] |
{{Time|AST}} |
→ | 11:31, 6 November 2024 AST [refresh] |
{{Time|NST}} |
→ | 12:01, 6 November 2024 NST [refresh] |
{{Time|PMST}} |
→ | 12:31, 6 November 2024 PMST [refresh] |
{{Time|WGT}} |
→ | 12:31, 6 November 2024 WGT [refresh] |
{{Time|UTC}} |
→ | 15:31, 6 November 2024 UTC [refresh] |
{{Time|GMT}} |
→ | 15:31, 6 November 2024 GMT [refresh] |
{{Time|CET}} |
→ | 16:31, 6 November 2024 CET [refresh] |
{{Time|EET}} |
→ | 17:31, 6 November 2024 EET [refresh] |
{{Time|IST}} |
→ | 21:01, 6 November 2024 IST [refresh] |
{{Time|WIT}} |
→ | 00:31, 7 November 2024 WIT [refresh] |
{{Time|BT}} |
→ | 23:31, 6 November 2024 BT [refresh] |
{{Time|EIT}} |
→ | {{time}} – unknown timezone eit (help) |
{{Time|JST}} |
→ | 2024-11-07T00:31 JST [refresh] |
{{Time|NTT}} |
→ | {{time}} – unknown timezone ntt (help) |
{{Time|ChST}} |
→ | 01:31, November 7, 2024 ChST [refresh] |
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/HST offset}}
- {{Time/ChST offset}}
- {{Time/JST offset}}
- {{Time/BT offset}}
- {{Time/WIT offset}}
- {{Time/EIT offset}}
- {{Time/NTT 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}}
The above documentation is transcluded from সাঁচ:Time/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |