ទំព័រគំរូ:Time/doc
This is a documentation subpage for ទំព័រគំរូ:Time. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
This is a subtemplate of {{Time}}. Do not use this template directly. Instead use {{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}} |
→ | ០៣:០៥, ១២ ខែធ្នូ ២០២៤ UTC [refresh] |
{{Time|HST}} |
→ | ១៧:០៥, ខែធ្នូ ១១, ២០២៤ HAST [refresh] |
{{Time|AKST}} |
→ | ១៨:០៥, ខែធ្នូ ១១, ២០២៤ AKST [refresh] |
{{Time|PST}} |
→ | ១៩:០៥, ខែធ្នូ ១១, ២០២៤ PST [refresh] |
{{Time|MST}} |
→ | ២០:០៥, ខែធ្នូ ១១, ២០២៤ MST [refresh] |
{{Time|CST}} |
→ | ២១:០៥, ខែធ្នូ ១១, ២០២៤ CST [refresh] |
{{Time|EST}} |
→ | ២២:០៥, ខែធ្នូ ១១, ២០២៤ EST [refresh] |
{{Time|AST}} |
→ | ២៣:០៥, ១១ ខែធ្នូ ២០២៤ AST [refresh] |
{{Time|NST}} |
→ | ២៣:៣៥, ១១ ខែធ្នូ ២០២៤ NST [refresh] |
{{Time|PMST}} |
→ | ០០:០៥, ១២ ខែធ្នូ ២០២៤ PMST [refresh] |
{{Time|WGT}} |
→ | ០០:០៥, ១២ ខែធ្នូ ២០២៤ WGT [refresh] |
{{Time|UTC}} |
→ | ០៣:០៥, ១២ ខែធ្នូ ២០២៤ UTC [refresh] |
{{Time|GMT}} |
→ | ០៣:០៥, ១២ ខែធ្នូ ២០២៤ GMT [refresh] |
{{Time|CET}} |
→ | ០៤:០៥, ១២ ខែធ្នូ ២០២៤ CET [refresh] |
{{Time|EET}} |
→ | ០៥:០៥, ១២ ខែធ្នូ ២០២៤ EET [refresh] |
{{Time|IST}} |
→ | ០៨:៣៥, ១២ ខែធ្នូ ២០២៤ IST [refresh] |
{{Time|WIT}} |
→ | ១២:០៥, ១២ ខែធ្នូ ២០២៤ WIT [refresh] |
{{Time|BT}} |
→ | ១១:០៥, ១២ ខែធ្នូ ២០២៤ BT [refresh] |
{{Time|EIT}} |
→ | {{time}} – unknown timezone eit (help) |
{{Time|JST}} |
→ | ២០២៤-១២-១២T១២:០៥ JST [refresh] |
{{Time|NTT}} |
→ | {{time}} – unknown timezone ntt (help) |
{{Time|ChST}} |
→ | ១៣:០៥, ខែធ្នូ ១២, ២០២៤ ChST [refresh] |
{{Time|NZST}} |
→ | ១៦:០៥, ១២ ខែធ្នូ ២០២៤ NZDT [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}}
- {{Time/NZST 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}}