Convert Seconds to Time
Convert seconds to a readable time format (hours:minutes:seconds). Enter the number of seconds to get the formatted time.
Input text
Result
Tool options
Time Padding
Add zero padding to hours, minutes, and seconds.
Convert Seconds to Time Examples
Click to try!
1 Second, 1 Minute, 1 Hour
In this example, we convert 1 second, 60 seconds, and 3600 seconds to clock format. We don't use the zero-padding option and get three simple output values – 0:0:1 for 1 second, 0:1:0 for 60 seconds (1 minute), and 1:0:0 for 3600 seconds (1 hour).
Time Padding
Add zero padding to hours, minutes, and seconds.
HH:MM:SS Digital Clock
In this example, we enable the padding option and output digital clock time in the format HH:MM:SS. The first two integer timestamps don't contain a full minute and the third timestamp doesn't contain a full hour, there we get zeros in the minutes or hours positions in output.
Time Padding
Add zero padding to hours, minutes, and seconds.
More Than a Day
The values of all input seconds in this example are greater than the number of seconds in a day (86400 seconds). As our algorithm doesn't limit the time to just 23:59:59 hours, it can find the exact number of hours in large inputs.
Time Padding
Add zero padding to hours, minutes, and seconds.
All Time Tools
