Difference between revisions of "Template:Hours elapsed"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(doc)
imported>JJMC89
(moved to /doc)
 
(12 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{#expr:floor(({{JD}}-{{JD
+
{{#expr:floor(({{#time:U}}-{{#time:U|{{{1|}}}}})/3600)}}<noinclude>
|1={{#time:Y|{{{1|{{CURRENTTIMESTAMP}}}}}}}
 
|2={{#time:m|{{{1|{{CURRENTTIMESTAMP}}}}}}}
 
|3={{#time:d|{{{1|{{CURRENTTIMESTAMP}}}}}}}
 
|4={{#time:H|{{{1|{{CURRENTTIMESTAMP}}}}}}}
 
|5={{#time:i|{{{1|{{CURRENTTIMESTAMP}}}}}}}
 
|6={{#time:s|{{{1|{{CURRENTTIMESTAMP}}}}}}}
 
}})*24)}}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:25, 6 February 2018

0

Template documentation[view] [edit] [history] [purge]

This is a template to calculate the number of hours which have elapsed since an input time.

Usage

See also