ទំព័រគំរូ: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}}