Convert seconds to compound duration: Difference between revisions
→{{header|Batch File}}
(Haskell version.) |
Simple9371 (talk | contribs) |
||
Line 138:
if %min% neq 0 set "output=%output% %min% min,"
if %rem% neq 0 set "output=%output% %rem% sec
if %1 gtr 0 echo %1 sec = %output:~1,-1%
|