Difference between revisions of "Template:TimeBetween"

From Detective Conan Wiki
m
 
Line 18: Line 18:
 
'''Notes:'''  
 
'''Notes:'''  
 
* DateTime2 must be a later date/time than DateTime1
 
* DateTime2 must be a later date/time than DateTime1
* The template presumes both dates/times as in the same time zone.
+
* The template presumes both dates/times as in the same time zone.</noinclude>
 
 
== See also ==
 
* [[Template:timeBetween/YearsBetween]]</noinclude>
 

Latest revision as of 02:53, 26 October 2025

Format:

{{timeBetween| ReturnType | DateTime1 | DateTime2 }}

ReturnType accepts the following values, which are used to control what unit of time is returned by the function (case-sensitive):

  • Y


Notes:

  • DateTime2 must be a later date/time than DateTime1
  • The template presumes both dates/times as in the same time zone.