Template:Datetime: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{Date|{{#timef:{{{1}}}|date}}}} {{Time|{{{1}}}}}}}</includeonly><noinclude> | <includeonly>{{#if:{{{1|}}}|{{Date|{{#timef:{{{1}}}|date}}}} {{Time|{{{1}}}}}}}</includeonly><noinclude>= Example: = | ||
Example: | <pre><nowiki>{{Datetime|2025-01-25T08:40:00}}</nowiki></pre> | ||
{{Datetime|2025-01-25T08:40:00}} | {{Datetime|2025-01-25T08:40:00}} | ||
<pre><nowiki>{{Datetime|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}}</nowiki></pre> | |||
{{Datetime|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}} | {{Datetime|{{CURRENTYEAR}}-{{CURRENTMONTH2}}-{{CURRENTDAY2}}T{{CURRENTTIME}}:00}} | ||
= See also: = | |||
* [[Template:Date]] | |||
* [[Template:Time]] | |||
= Template Data = | |||
<templatedata> | <templatedata> | ||
{ | { |