compound_duration
Convert seconds to compound duration (week, days, hours, minutes, seconds)
input number | output string |
---|---|
7259 | 2h59s |
86400 | 1d |
6000000 | 9w6d10h40m |
Convert seconds to compound duration (week, days, hours, minutes, seconds)
input number | output string |
---|---|
7259 | 2h59s |
86400 | 1d |
6000000 | 9w6d10h40m |