I can't get the code any shorter than thisjoedf wrote:@AlphaBravo Nice there! But I know that it can be even shorter, and you can do it...
Code: Select all
secsToStr(s){
return s//86400 " Days, " (s:=mod(s,86400))//3600 " Hours, " (s:=mod(s,3600))//60 " Minutes, " mod(s,60) " Seconds"
}