Template:TimeZone: Difference between revisions

From Inkipedia, the Splatoon wiki
(I still need to add daylight saving)
 
m (Text replacement - "{{ userbox" to "{{Userbox")
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{ userbox
{{Userbox
| border-c = #088A08
|border-c=#088A08
| id       = ⌚
|id=⌚
| id-c     = #D0F5A9
|id-c=#D0F5A9
| info-c   = #BCF5A9
|info-c=#BCF5A9
| info-lh = 1.1
|info-lh=1.1
| info     =  
|info=For this user, the time of day is '''{{#time:H:i|@{{#expr: 2*{{#time:U}} - {{#time:U|{{{1|Europe/London}}}}}}}}}'''.
For this user, the time of day is '''{{#timel: H:i|{{{1|+0 hours}}}}}'''.
}}
}}
<noinclude>
<noinclude>
{{clr}}
== Usage ==
== Usage ==
  <nowiki>{{TimeZone|+2 hours}}</nowiki>
[https://www.php.net/manual/en/timezones.php Available timezones]
{{TimeZone|+2 hours}}
  <nowiki>{{TimeZone|Europe/Warsaw}}</nowiki>
{{TimeZone|Europe/Warsaw}}
[[Category:User boxes]]

Latest revision as of 13:01, 29 June 2023

For this user, the time of day is 20:17.

Usage

Available timezones

{{TimeZone|Europe/Warsaw}}
For this user, the time of day is 21:17.