Seconds to HH:MM:SS

Convert seconds to time in hours, minutes, and seconds (hh:mm:ss).

Result:

How to convert Seconds to Time in HH:MM:SS

To convert seconds to time in the HH:MM:SS format, divide the total seconds by 3600 to get the hours, divide the remainder by 60 to get the minutes, and save the number of remaining seconds. Combine these values to get the time in HH:MM:SS format.

For example: let's say we have 3665 seconds that we want to convert to time in the HH:MM:SS format.

Step 1: Divide the total number of seconds by 3600 to get the hours.

3665 / 3600 = 1 hour with a remainder of 65 seconds.

Step 2: Take the remainder from the previous step and divide it by 60 to get the minutes.

65 / 60 = 1 minute with a remainder of 5 seconds.

Step 3: Now we can put everything together in the HH:MM:SS format. In our example, the result is 01:01:05.

3665 seconds is equal to 01:01:05 in the HH:MM:SS format

Examples

Seconds Time in HH:MM:SS
30 00:00:30
60 00:01:00
600 00:10:00
1250 00:20:50
10000 02:46:40

See Also: