Hi @radikasubramaniam57, there are two things you want to do when converting a timer to display in HH:MM:SS. First you want to convert seconds to minutes (and in your case, minutes to hours) and then work on another function to format the time.
There are other ways to do this, of course, and this is a fairly commonly requested topic. Searching the Community will also be advantageous here. Here is a fairly good topic already discussing the same format.