᠎᠎᠎          
51K

Clock time formatter

World's simplest time tool

With this browser-based application, you can change the format of any clock time. You can turn all clock formats into nice 12-h or 24-h time formats, add/remove padding to/from hours, minutes, and seconds values, convert a clock time to the military time, spell out a clock time, convert time to seconds, and fix weird and chaotic time formats. Created by computer nerds from team Browserling.
announcement check out our new project!
We just created something new for all science fans – SCIURLS – a neat science news aggragator. Check it out!
New Time Format
Set the new clock time format.
Set a custom time format. • Use "hh" for hours. • Use "mm" for minutes. • Use "ss" for seconds.
Time Padding
Use zero-padding so that hours, minutes, and seconds are always two digits long.
Adjust Excessive Time Values
Choose the format for clock values that exceed 23:59:59.
Regular: Time is limited to 24 hrs. Day count: Show days when hrs>24. Single day: Time limited to 23:59:59. Non-regular: Show any hr/min/sec.
Clock time formatter tool What is a clock time formatter?
This is a quick online utility for formatting a clock time. For example, if you have a bunch of clock times in 12-hour format and you need them to be in 24-hour format, then you can almost instantly perform this time formatting operation. Or, if you have a short time format (such as "1:2:5") and you need to get fully-padded time (such as "01:02:05"), then this conversion also can be done very quickly. To change the time format, paste one or more clock times into the input field of this utility (put one clock time per line) and then simply select the new output clock format in the options. As soon as you do that, you'll get all the input values converted to the new format. Optionally, you can also enable/disable hour, minute, second padding, which makes sure each time component uses two digits (instead of "3" you will get "03", etc). In addition to 12-h, 24-h, and short and fully-padded time formats, you can also get a clock time written in words (for example, "2 hours and 3 minutes"), a military time (for example, "0203"), and time in seconds format (for example, "7380" seconds). If none of the formats suit you, you can create your own time style by switching to the "custom" format mode. When this mode is active, you can specify a time pattern in the option using the abbreviations "hh" for hours, "mm" for minutes, and "ss" for seconds. For example, the pattern "hhh~mmmin~sssec" will turn the input time into this format: "1h~2min~3sec". In addition to choosing the clock format, you can also work with excessive hour, minute, and second values. For example, a time "28:00:00" is called an excessive time as the hours value exceeds the regular clock maximum value of 24 hours. When working with such clock values, you can convert them to regular time using several options. If you select "regular time" then "28:00:00" will be formatted as "04:00:00" in the output (because 28 hours on a clock is the same as 24 hours plus another 4 hours). If you select "time with a day count", then it will print "04:00:00 (+1)". Here the value in parentheses indicates the number of days elapsed. If you select "single day time", then you will get "00:00:00" in the output as formatting stops at end of the day (midnight). Finally, the last option is called "non-regular time" and it will not try to normalize the hours, minutes, hours values, and it will print the same "28:00:00" in the output. Timeabulous!
Clock time formatter examples Click to use
Prettify Clock Times
In this example, we prettify a bunch of clock times. We select the 24-hour format "hh:mm:ss" and activate the padding option so that each time component – hours, minutes, and seconds – had full two digits. We also select the regular clock formatting strategy for excessive clock times, so that all times in the output are limited to 24 hours.
2 03:5 14:1:1 33:0:8 7:7:7
02:00:00 03:05:00 14:01:01 09:00:08 07:07:07
Required options
These options will be used automatically if you select this example.
Set the new clock time format.
Set a custom time format. • Use "hh" for hours. • Use "mm" for minutes. • Use "ss" for seconds.
Use zero-padding so that hours, minutes, and seconds are always two digits long.
Choose the format for clock values that exceed 23:59:59.
Convert Time to Military Time
In this example, we load several times in different formats and turn them all into military time. The military time format consists only of merged and zero-padded hours and minutes "HHMM". The seconds part in military time is dropped.
16:25 04:20:45 10pm 5:5am
1625 0420 2200 0505
Required options
These options will be used automatically if you select this example.
Set the new clock time format.
Set a custom time format. • Use "hh" for hours. • Use "mm" for minutes. • Use "ss" for seconds.
Use zero-padding so that hours, minutes, and seconds are always two digits long.
Choose the format for clock values that exceed 23:59:59.
Turn Excess Time to Regular Time
In this example, we convert times with excessive hours, minutes, and seconds values to a regular clock time. The maximum value for hours is 23hr, for minutes it's 59m, and for seconds it's 59s. We display the excess time as elapsed days in parentheses (every full day is 24 hours).
32:483:242 48:5162:2818760
04:07:02 pm (+1) 05:01:20 am (+38)
Required options
These options will be used automatically if you select this example.
Set the new clock time format.
Set a custom time format. • Use "hh" for hours. • Use "mm" for minutes. • Use "ss" for seconds.
Use zero-padding so that hours, minutes, and seconds are always two digits long.
Choose the format for clock values that exceed 23:59:59.
Spell Clock Times
In this example, we convert five different clock times into spelled-English format. We turn off the padding option and also allow the time to go beyond 24 hours (non-regular time formatting strategy is active).
14:16 8:10:50 46:30 0:0:0 am 01:01:01 pm
14 hours and 16 minutes 8 hours, 10 minutes, 50 seconds 46 hours and 30 minutes 0 seconds 13 hours, 1 minute, 1 second
Required options
These options will be used automatically if you select this example.
Set the new clock time format.
Set a custom time format. • Use "hh" for hours. • Use "mm" for minutes. • Use "ss" for seconds.
Use zero-padding so that hours, minutes, and seconds are always two digits long.
Choose the format for clock values that exceed 23:59:59.
Create a Custom Time Format
In this example, we create a custom clock time format. We output only the hours and minutes and surround them by vertical bars. As "ss" isn't used in the format, the seconds are discarded and not used in the output.
12:12:12 09:35:07 10:8:8
| hr: 12 | min: 12 | | hr: 09 | min: 35 | | hr: 10 | min: 08 |
Required options
These options will be used automatically if you select this example.
Set the new clock time format.
Set a custom time format. • Use "hh" for hours. • Use "mm" for minutes. • Use "ss" for seconds.
Use zero-padding so that hours, minutes, and seconds are always two digits long.
Choose the format for clock values that exceed 23:59:59.
Pro tips Master online time tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinetimetools.com/format-clock-time?input=2%0A03%3A5%0A14%3A1%3A1%0A33%3A0%3A8%0A7%3A7%3A7&format=hh-mm-ss&custom-format=hh%3Amm%3Ass&padding=true&time-overflow=strict-time
All time tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly visualize your life in weeks or months.
Quickly print a list of neat-looking clock times (such as 10:11:12).
Quickly print a list of neat-looking calendar dates (such as 2055-05-05).
Quickly convert clock time in H:M:S format to seconds.
Quickly convert seconds to clock time in H:M:S format.
Quickly convert time in 24 hour format to 12 hour format.
Quickly convert time in 12 hour format to 24 hour format.
Quickly find how many seconds have passed since midnight.
Quickly find how many seconds are left till midnight.
Quickly find the difference between two clock times.
Quickly find the difference between two calendar dates.
Quickly find the age difference between two or more people.
Quickly add hours, minutes, and seconds to the given time.
Quickly subtract hours, minutes, and seconds from the given time.
Quickly add days, months, and years to the given date.
Quickly subtract days, months, and years to from the given date.
Quickly change the current time format to any new format.
Quickly change the current date format to any new format.
Quickly round the given clock time up or down.
Quickly round the given calendar date up or down.
Quickly drop seconds and minutes from a clock time.
Quickly drop days and months from a calendar date.
Quickly sort clock times in ascending or descending order.
Quickly sort calendar dates in ascending or descending order.
Quickly check if the given clock time is valid.
Quickly check if the given calendar date is valid.
Quickly find how many hours are in the given days.
Quickly find how many days are in the given hours.
Quickly find the astrological sign by the birthday or any date.
Quickly print a list of the dates of all astrological signs.
Quickly find the average value of multiple clock times.
Quickly find the average value of multiple calendar dates.
Quickly generate a list of random clock times.
Quickly generate a list of random calendar dates.
Quickly create a list of clock times that match your criteria.
Quickly generate a list of calendar dates that match your criteria.
Quickly split the given time period into multiple intervals.
Quickly split the given date period into multiple intervals.
Quickly generate increasing or decreasing clock times.
Quickly generate increasing or decreasing calendar dates.
Quickly print a list of all leap years.
Quickly print a list of all common years.
Quickly test if the given year is a leap year.
Quickly test if the given year is a common year.
Quickly find how old a cat would be if it was a human.
Quickly find how old a human would be if he/she was a cat.
Quickly find how old a dog would be if it was a human.
Quickly find how old a human would be if it was a dog.
Quickly convert a modern Gregorian date to a Julian date.
Quickly convert an ancient Julian date to a Gregorian date.
Quickly calculate the Julian day number for any calendar date.
Quickly convert the Julian day to a regular calendar date.
Quickly print a list of all Easter dates for all years.
Quickly convert a UNIX Epoch time to a human-readable time.
Quickly convert human-readable time to a UNIX Epoch time.
Quickly generate increasing or decreasing UNIX timestamps.
Quickly generate one or more random UNIX Epoch times.
Quickly convert a HH:MM:SS clock to a military HHMM clock.
Quickly convert a military clock HHMM to a HH:MM:SS clock.
Coming soon These time tools are on the way
Draw an Analog Clock
Draw an analog clock that shows particular time.
Draw a Digital Clock
Draw a digital clock that shows particular time.
Animate an Analog Clock
Create a GIF animation of an analog clock.
Animate a Digital Clock
Create a GIF animation of a digital clock.
Draw a Calendar
Draw a daily, monthly, or yearly calendar.
Draw a Lunar Calendar
Draw a calendar that shows moon phases.
Create an Animated Timer
Draw an animation that counts down (or up) time.
Draw an Infinite Spiral Clock
Animate a timeless clock that goes in an infinite spiral.
Draw Time as a Pie Chart
Visualize the given clock time as a pie chart.
Draw Current Year as a Pie Chart
Visualize the current year as a pie chart.
Draw Time as a Bar Chart
Visualize the given clock time as a bar chart.
Draw Current Year as a Bar Chart
Visualize the current year as a bar chart.
Draw a Time Arrow
Visualize the given clock time as an arrow.
Visualize Time Intervals
Draw a visualization of multiple time intervals.
Visualize Time Series
Draw a time series chart.
Find Season by a Date
Print the season (winter, spring, summer, autumn) by a date.
Swap Clock Hands
Swap a clock's hour hand with minute hand.
Reverse Clock Time
Find the reverse of the given clock time.
Invert Clock Time
Find the inverse of the given clock time.
Shift Clock Time
Shift the given clock time by any time interval.
Change Clock Scale
Change the clock scale from 24 hours to any other hours.
Generate Valid Clock Times
Generate a list of valid clock times.
Generate Invalid Clock Times
Generate a list of invalid clock times.
Generate Valid Calendar Dates
Generate a list of valid calendar dates.
Generate Invalid Calendar Dates
Generate a list of invalid calendar dates.
Convert English to Crontab
Create a crontab expression from human language.
Convert Crontab to English
Rewrite a crontab entry into human language.
Convert Seconds To Minutes
Find how many minutes are in the given seconds.
Convert Seconds To Hours
Find how many hours are in the given seconds.
Convert Seconds to Days
Find how many days are in the given seconds.
Convert Seconds to Weeks
Find how many weeks are in the given seconds.
Convert Seconds to Months
Find how many months are in the given seconds.
Convert Seconds to Years
Find how many years are in the given seconds.
Convert Minutes to Seconds
Find how many seconds are in the given minutes.
Convert Minutes To Hours
Find how many hours are in the given minutes.
Convert Minutes to Days
Find how many days are in the given minutes.
Convert Minutes to Weeks
Find how many weeks are in the given minutes.
Convert Minutes to Months
Find how many months are in the given minutes.
Convert Minutes to Years
Find how many years are in the given minutes.
Convert Hours To Seconds
Find how many seconds are in the given hours.
Convert Hours to Minutes
Find how many minutes are in the given hours.
Convert Hours to Weeks
Find how many weeks are in the given hours.
Convert Hours to Months
Find how many months are in the given hours.
Convert Hours to Years
Find how many years are in the given hours.
Convert Days to Seconds
Find how many seconds are in the given days.
Convert Days to Minutes
Find how many minutes are in the given days.
Convert Days to Weeks
Find how many weeks are in the given days.
Convert Days to Months
Find how many months are in the given days.
Convert Days to Years
Find how many years are in the given days.
Convert Weeks to Seconds
Find how many seconds are in the given weeks.
Convert Weeks To Minutes
Find how many minutes are in the given weeks.
Convert Weeks To Hours
Find how many hours are in the given weeks.
Convert Weeks to Days
Find how many days are in the given weeks.
Convert Weeks to Months
Find how many months are in the given weeks.
Convert Weeks to Years
Find how many years are in the given weeks.
Convert Months to Seconds
Find how many seconds are in the given months.
Convert Months To Minutes
Find how many minutes are in the given months.
Convert Months To Hours
Find how many hours are in the given months.
Convert Months to Days
Find how many days are in the given months.
Convert Months to Weeks
Find how many weeks are in the given months.
Convert Months to Years
Find how many years are in the given months.
Convert Years to Seconds
Find how many seconds are in the given years.
Convert Years To Minutes
Find how many minutes are in the given years.
Convert Years To Hours
Find how many hours are in the given years.
Convert Years to Days
Find how many days are in the given years.
Convert Years to Weeks
Find how many weeks are in the given years.
Convert Years to Months
Find how many months are in the given years.
Find Week of the Year
Given a calendar date, find which week of the year it is.
Find Day of the Year
Given a calendar date, find which day of the year it is.
Find Day of the Week
Given a calendar date, find which day of the week it is.
Convert a Bird's Age to Human Years
Find how old a human would be if he/she was a bird.
Convert a Human's Age to Bird Years
Find how old a bird would be if it was a human.
Convert Earth Time to Mars Time
Convert clock time on Earth to clock time on Mars.
Convert Mars Time to Earth Time
Convert clock time on Mars to clock time on Earth.
Generate Palindromic Times
Print a list of symmetric clock times.
Generate Palindromic Dates
Print a list of symmetric calendar dates.
Generate Equal H:M:S Times
Print a list of clock times with hrs equal mins equal secs.
Generate Equal Y-M-D Dates
Print a list of calendar dates with yr equal mon equal day.
Calculate Clock Hand Angle
Find the angle between hour hand and minute hand.
Set Clock Hand Angle
Print a list of all clock times with a specific hand angle.
Set Straight Clock Hands
Print a list of all clock times when hands are in a straight line.
Normalize Clock Times
Given clock times in various formats, convert them to one format.
Normalize Calendar Dates
Given calendar dates in various formats, make them the same format.
Spell Clock Times
Write out clock times in full text format.
Spell Calendar Dates
Write out calendar dates in full text format.
Rotate Clock Times
Cyclically shift HH, MM, SS time parts to the left or right.
Rotate Calendar Dates
Cyclically shift YYYY, MM, DD date parts to the left or right.
Freeform Time Calculator
Perform freeform clock time arithmetics.
Freeform Date Calculator
Perform freeform calendar date arithmetics.
Create Zalgo Time
Generate date and time that only Zalgo can understand.