I need to convert seconds to hh:mm:ss. For example, 5565 seconds would be displayed as 01:32:45. Does anyone have a good way to do this?
Discussion posts and replies are publicly visible
Hope this helps
a!localVariables( local!hoursInDecimal: split(5565 / 3600, "."), local!minutes:split((todecimal("." & local!hoursInDecimal[2])*60),"."), joinarray({text(local!hoursInDecimal[1],"00"), text(local!minutes[1], "00"), text(round(("." & local!minutes[2])*60), "00")}, ":") /*time(local!hoursInDecimal[1], local!minutes[1] , round(("." & local!minutes[2])*60))*/ )