Template:Localtime: Difference between revisions

From Campaigns
Jump to navigation Jump to search
Created page with "<time datetime="{{{1}}}">{{{1}}}</time>"
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<time datetime="{{{1}}}">{{{1}}}</time>
<includeonly><time datetime="{{{1}}}">{{{1}}}</time></includeonly>
<noinclude>Prints a time in the user's local timezone. Example:
{| class="wikitable"
!Code!!Produces
|-
|<code><nowiki>{{localtime|2022-09-11T15:00-0800}}</nowiki></code>
|{{localtime|2022-09-11T15:00-0800}}
|}
[[category:Formatting templates]]</noinclude>

Latest revision as of 22:09, 10 September 2022

Prints a time in the user's local timezone. Example:

Code Produces
{{localtime|2022-09-11T15:00-0800}}