Given an N Integer, how do I convert it to Time format?

Hi OS folks.

How do I convert for example 900 seconds to a [HH: MM : SS] format like [01: 59: 00] ?

Solution

Perhaps something like this? 


FormatDateTime(AddSeconds(NewTime(0,0,0),900), "hh:mm:ss")
Solution

Vincent Koning wrote:

Perhaps something like this? 


FormatDateTime(AddSeconds(NewTime(0,0,0),900), "hh:mm:ss")

many thanks to this! makes life easier hahaha