Add a Z suffix only to UTC timestamps
Write 2026-11-04T14:30:15Z only when the basis is UTC. Others wait for review.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | B8="UTC" | Checks the time basis says UTC. | TRUE |
| 2 | TEXT( … ) | Writes the date, a T, 24-hour time, then Z. | "2026-11-04T14:30:15Z" |
| 3 | "Review UTC basis before export" | The message for Local or Unknown. | Not used for row 8 |
| 4 | IF( … ) | Uses part 2 for UTC, otherwise part 3. | "2026-11-04T14:30:15Z" |
The doubled quotes keep T and Z as plain letters. Z only labels the time; it doesn't convert it.
=IF(B8="UTC",TEXT(A8,"yyyy-mm-dd""T""hh:mm:ss""Z"""),"Review UTC basis before export")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 dates and times. Paste real dates and times and their basis, like UTC or Local, into the green columns of the Template tab. The export text fills in by itself.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Only mark a time UTC when you know it is. The formula never works out the zone for you.
Microsoft's help: TEXT function
OTHER ROUTES YOU MIGHT LIKE

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 →
Read network time with a known era
4002791415, era 0, 2147483648 → 11/4/2026 14:30:15.500
Get the template →
Show an appointment time as 1:05 PM
13:05:00 → 1:05 PM
Take this route →