Currently using gmdate to convert seconds to a formatted time to be printed out:
$sec = 144
The problem is my $sec variable can be up to 1080000 seconds which is 300 hours and my current code doesnt display this as “H” only goes up to 23. So how else would I display it? I want it to be purely in hours:mins:seconds format no days.