Difference between revisions of "Template:Hours elapsed"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(doc)
imported>MSGJ
(simplify)
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>

Revision as of 09:20, 17 July 2009

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