Convert seconds to days, hours, minutes and seconds
We convert the specified number of seconds into days, hours, minutes and seconds.
1 2 3 4 5 6 7 8 |
var sec: Integer; dhms: string; begin sec:= 2145414543; dhms:= secToDHMS(sec); ShowMessage(dhms); end; |