Template:Time: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
(Created page with "{{ #dpl: title = % | allowcachedresults = false | noresultsheader = ²{ #time: {{{1|H:i}}} ¦ {{{2|now}}} }² }}<noinclude> == Description == <pre> {{time}} {{time|format}} {...")
 
No edit summary
 
Line 20: Line 20:
* [[Template:UTC time]] - to display a time in both UTC and the user's local timezone.
* [[Template:UTC time]] - to display a time in both UTC and the user's local timezone.


[[Category:Deprecated templates]]
</noinclude>
</noinclude>

Latest revision as of 23:42, 11 September 2019

22:19

Description

{{time}}
{{time|format}}
{{time|format|date and time}}

This template returns an uncached time based on the given format.

Warning: This template prevents the whole page that includes the template from being cached!

Parameters

unnamed parameter 1
Optional. Time format, compatible to the #time parser hook. (Default: H:i)
unnamed parameter 2
Optional. Date/time object, defaults to "now".

See also