Template:Time userbox

From Nordic Larp Wiki
Revision as of 06:43, 26 December 2015 by en>Alex 21 (Allow for non-integer timezones.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Klok.svg It is approximately 6:45 PM in this user's locale. (Purge to update.)
Template documentation[view] [edit] [history] [purge]

Usage

This userbox displays the current time in your time zone.

Instructions

  • If you live in a region that utilizes daylight saving time (DST), the offset needs to be manually changed when DST occurs.
For example, in Southern Ontario, in the Eastern Time Zone, the offset would be -5. When the Eastern time zone is experiencing daylight saving time, the argument -4 is used in the template instead of -5.

Examples

Template output Code
Klok.svg It is approximately 6:45 PM in this user's locale. (Purge to update.)
{{Time userbox|-4}}
Klok.svg It is approximately 3:45 AM in this user's locale. (Purge to update.)
{{Time userbox|+5}}

See also