Template:Day count to DHMS
0 days, 0 hours, 0 minutes
Usage
Converts a real number representing days into a string showing days, hours, and minutes. Minutes are rounded to the nearest minute. Counts larger than 365 are still expressed in days, there is no years component, though support for that could be added if needed.
{{Day count to DHMS|realnumber}}
Example: {{Day count to DHMS|2.94858800014481}}
outputs:
2 days, 22 hours, 46 minutes
See also
- {{DATEDIFF2}}
Notes
This template was originally created for use with the {{DATEDIFF2}} template to support calculation of time between launch attempts of spacecraft for Wikipedia:WikiProject Human spaceflight.
The above documentation is transcluded from Template:Day count to DHMS/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |