Making use of Arithmetic functions

Modified on Mon, 7 Jun, 2021 at 4:11 PM

1. Convert No. of Seconds to hours format (HH:MM:SS)


Description:

Convert the time given in seconds to hour format (HH:MM:SS).


Example:


Time in seconds

Time in Hours

4500

1:15:0

3254

0:54:14

4253

1:10:53

2546

0:42:26


UDDC Expression:


round(floor((Seconds/3600)),0)
+ " : " +
round(floor(mod(Seconds,3600)/60),0)
+ " :" +
 round(floor(mod(floor(mod(Seconds,3600)),60)),0)


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article