Convert 20261104143015+0530 to UTC
Turn an HL7 code like 20261104143015+0530 into UTC: November 4, 2026 9:00:15 AM.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | DATE( … ) | Reads the year, month and day as a real date. | November 4, 2026 |
| 2 | TIME( … ) | Adds the hour, minutes and seconds. | November 4, 2026 2:30:15 PM |
| 3 | IF( … ) | Gives 1 for a plus sign, -1 for minus. | 1 |
| 4 | ( … )/1440 | Turns the offset into part of a day, then takes it away. | November 4, 2026 9:00:15 AM |
A day has 1,440 minutes. A plus offset is ahead of UTC, so it comes off; a minus offset is added.
=DATE(LEFT(A8,4),MID(A8,5,2),MID(A8,7,2))+TIME(MID(A8,9,2),MID(A8,11,2),MID(A8,13,2))-IF(MID(A8,15,1)="+",1,-1)*(VALUE(MID(A8,16,2))*60+VALUE(RIGHT(A8,2)))/1440How 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 codes. Paste codes like 20261104143015+0530 into the green column of the Template tab. The UTC dates and times fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
The results are UTC, not local time, and the offset isn't kept. Keep the original codes beside them.
Microsoft's help: DATE function
OTHER ROUTES YOU MIGHT LIKE

Add a Z suffix only to UTC timestamps
11/4/2026 2:30:15 PM, UTC → 2026-11-04T14:30:15Z
Get the template →
Read milliseconds since 1960
Milliseconds since 1960 2109421815000 → November 4, 2026 2:30:15 PM
Get the template →
Read seconds since 1582 as timestamps
Seconds since 1582 14013181815 → November 4, 2026 2:30:15 PM
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →