convert seconds string to Days hours : minutes : seconds.
usage:
Add function to string prototype.
String.prototype.toDDHHMMSS = require("./secToDHMS");
Call as:
"seconds string".toDDHHMMSS();
Result returned:
00Days 00:00:00
misbahkhalilaz / seconds_to_days_hh-mm-ss Goto Github PK
View Code? Open in Web Editor NEWconvert seconds string to Days hours : minutes : seconds.
License: MIT License