This template returns a UTC offset string suitable for use with the {{#time:}} parser function:
This template returns a UTC offset string suitable for use with the {{#time:}} parser function:
{{UTC offset|MST}} → -6 hoursThis template takes two parameters:
<timezone code> – (required) the first positional parameter specifies the timezone for which the offset is desired|dst= – (optional) when set to no, suppresses daylight saving time adjustmentValid <timezone code> values are the same as those supported by {{time}}.
Typical use of this template is with the {{#time:}} parser function:
{{#time:H:i}} → 20:30 – UTC time{{UTC offset|MST}} → -6 hours – MST or MDT offset from UTC{{#time:H:i | {{UTC offset|MST}} }} → 14:30 – MST or MDT timeUse |dst=no to get the UTC offset for areas that do not support daylight saving time but are located within timezones that do: Arizona (does not) is located within the Mountain Time Zone (does).
This is a list of the currently supported time zone abbreviations:
This template can emit three error messages:
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.