Export a time like T14:30:15
Turn the time 2:30:15 PM into the text T14:30:15. Missing times stay blank.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | A8="" | Checks for an empty cell. | No |
| 2 | "T" | The letter T that goes in front. | "T" |
| 3 | A8 | The real clock time. | 2:30:15 PM |
| 4 | TEXT( … ) | Writes the time as hours 00 to 23, minutes, seconds. | "14:30:15" |
| 5 | IF( … ) | Leaves the cell blank if part 1 says yes. | "T14:30:15" |
Read it left to right. The pattern "hh:mm:ss" inside part 4 has no AM or PM, so 2 PM shows as 14.
=IF(A8="","","T"&TEXT(A8,"hh:mm:ss"))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 real times into the green column of the Template tab. The export times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Use this only when the system asks for a time with a T in front. No date or time zone is added.
Microsoft's help: TEXT function
OTHER ROUTES YOU MIGHT LIKE

Export UTC timestamps as Unix seconds
November 4, 2026 2:30:15 PM → Unix seconds 1793802615
Get the template →
Export a timestamp as Unix milliseconds
November 4, 2026 2:30:15 PM → Unix milliseconds 1793802615000
Get the template →
Write a full appointment date and time
11/4/2026 2:30 PM → November 4, 2026 at 2:30 PM
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →