Template:Duration

Documentation
Formats a duration given in seconds.

Usage
if the second parameter is given (any non-whitespace character will do), the format will be like dd:hh:mm:ss. If the second parameter is empty, the format will be like 1d 4h 23m 2s.

Examples

 * creates
 * creates
 * creates
 * creates
 * creates
 * creates
 * creates
 * creates