Jump to content

Template:TimeBetween: Difference between revisions

From Detective Conan Wiki
Created Template:timeBetween
 
Testing something...
Line 6: Line 6:
'''Note:''' The template presumes both dates/times as in the same time zone.</noinclude>
'''Note:''' The template presumes both dates/times as in the same time zone.</noinclude>
<includeonly>
<includeonly>
{{#expr:
{{/YearsBetween|{{{1}}}|{{{2}}} }}</includeonly>
  {{#time:U| {{{1}}} }} - {{#time:U| {{{2}}} }}
}}</includeonly>

Revision as of 04:01, 20 April 2025

Format:

{{timeBetween|DateTime1|DateTime2}}

Note: The template presumes both dates/times as in the same time zone.