Template:Currenttime: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
imported>Eviolite (WP:BOLDly change misleading link) |
||
Line 1: | Line 1: | ||
{{selfref|1=<small>The current date and time in {{{place|{{PAGENAME}}}}} is {{#time:l j F, H:i| {{#expr:({{{offset|+0}}} | {{selfref|1=<small>The current date and time in {{{place|{{PAGENAME}}}}} is {{#time:l j F, H:i| {{#expr:({{{offset|+0}}} | ||
{{#switch:{{{dst|none}}}|Europe=+{{Current daylight saving offset in Europe}}|North America=+{{Current daylight saving offset in North America}}|none=|#default=}})*60}} minutes }}.</small><small><ref>Calculated using [[Wikipedia:Parser functions| | {{#switch:{{{dst|none}}}|Europe=+{{Current daylight saving offset in Europe}}|North America=+{{Current daylight saving offset in North America}}|none=|#default=}})*60}} minutes }}.</small><small><ref>Calculated using [[Wikipedia:Parser functions|parser functions]]. For more information see [[WP:CCT]]. To update time {{purge|purge page cache}}. </ref></small>|2=}}<noinclude> | ||
{{Template reference list}} | {{Template reference list}} |
Latest revision as of 03:42, 25 April 2022
References
These references will appear in the article, but this list appears only on this page.
- ^ Calculated using parser functions. For more information see WP:CCT. To update time .
Notice
This template is a partial self-reference because it uses an equation to calculate the date and time. However, this date and time is easily verifiable and so is part of the encyclopedic content.
If you wish for the reference to appear this template should be substituted onto pages it appears on.
The template makes a footnote reference stating: Calculated using Wikimedia Foundation Inc.. For more information see WP:CCT. To update time purge page cache.
Usage
{{currenttime |place= Place name, e.g. Paris. Used in the display, not in the calculation. Default value is {{PAGENAME}}. |offset= Time offset, in hours, e.g. +1 or 0 or -14 or +7.5. Default value is 0. |dst= System used for observing Daylight saving time, can be Europe or North America or none. Default value is none. }}
Example: {{currenttime|place=Paris|offset=+1|dst=Europe}}
See also: Wikipedia:WikiProject Current Local City Time
- ^ Calculated using parser functions. For more information see WP:CCT. To update time .
- ^ Calculated using parser functions. For more information see WP:CCT. To update time .