Convert seconds to compound duration: Difference between revisions
Content deleted Content added
Add C implementation |
m accidentally pasted something |
||
Line 200: | Line 200: | ||
if %min% neq 0 set "output=%output% %min% min," |
if %min% neq 0 set "output=%output% %min% min," |
||
if %rem% neq 0 set "output |
if %rem% neq 0 set "output=%output% %rem% sec," |
||
if %1 gtr 0 echo %1 sec = %output:~1,-1% |
if %1 gtr 0 echo %1 sec = %output:~1,-1% |