You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.
Template:Timespan: Difference between revisions
Jump to navigation
Jump to search
(this wiki has got to have a security vulnerability somewhere, having not been updated in two/three years) |
(No difference)
|
Revision as of 05:36, 12 February 2014
206 days, 22 hours, 37 minutes, 20 seconds
Usage
An extremely inefficient way of calculating the length between two datetimes. Used with {{timespan|start|end}}
, such as {{timespan|August 14, 2007 8:06:36 pm|March 08, 2008 6:43:56 pm}}
. Should be using the trunc or floor function, but somehow this wiki doesn't have that despite having the extension that does. As a result will fail for times greater than 4 years.
To show seconds (default doesn't), use {{timespan|start|end|s}}
.