Difference between revisions of "Template:Time userbox"

From Nordic Larp Wiki
Jump to navigation Jump to search
en>Alex 21
(Allow for non-integer timezones.)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 02:47, 2 January 2019

Klok.svg It is approximately 1:10 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 1:10 PM in this user's locale. (Purge to update.)
{{Time userbox|-4}}
Klok.svg It is approximately 10:10 PM in this user's locale. (Purge to update.)
{{Time userbox|+5}}

See also