Convert a six-digit hhmmss clock code
Turn the code 143015 into a real time: 2:30:15 PM.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | LEFT(A8,2) | Takes the first 2 digits: the hour. | "14" |
| 2 | MID(A8,3,2) | Takes 2 digits from the 3rd: the minutes. | "30" |
| 3 | RIGHT(A8,2) | Takes the last 2 digits: the seconds. | "15" |
| 4 | TIME( … ) | Puts them together as a real time. | 2:30:15 PM |
Read it left to right. Hours use 24-hour numbering, so 14 is 2 PM and 00 is midnight.
=TIME(LEFT(A8,2),MID(A8,3,2),RIGHT(A8,2))How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own times. Paste six-digit codes like 093015 into the green column of the Template tab. Keep the leading zero. The times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Keep the leading zero: 093015 needs all six digits. A code like 240000 or 236000 rolls over, so check odd times.
Microsoft's help: TIME function
OTHER ROUTES YOU MIGHT LIKE

Build a time from hour, minute, second
14 + 30 + 15 → 2:30:15 PM
Get the template →
Convert time text to a real clock time
14:30:15 as text → 2:30:15 PM
Get the template →
Keep the clock portion of a timestamp
November 4, 2026 2:30:15 PM → 2:30:15 PM
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →