Function Problems

Concatenate a Date as ISO 8601 Text in Excel

Elise WilliamsElise Williams Nov 18, 2026 871 views

Question details

Combine a date with static text to produce an ISO 8601-style text value.

Concatenate a Date as ISO 8601 Text in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A date in a worksheet needs to be joined with a T separator and a time string, such as 00:00:00.
Observed behavior
Direct concatenation may expose the date's serial number or produce an unwanted date format.
Before you start

Make sure A2 contains a valid Excel date value. For the first formula, enter T in C2 and 00:00:00 as text in D2.

Solution 1Recommended

Use TEXT to format the date before concatenating

Use this method when the separator and time are stored as text in separate cells.

1
Check the source cells

Enter the date in A2, T in C2, and 00:00:00 as text in D2.

2
Enter the formula

Select an empty cell and enter =TEXT(A2,"yyyy-mm-dd")&C2&D2.

3
Check the result

Press Enter. If A2 contains January 1, 2019, the result is the text value 2019-01-01T00:00:00.

Use TEXT to format the date before concatenating
The result is text: TEXT controls the date representation before the values are joined, so the result does not expose the date serial number. The example does not include a time zone.
WPS Spreadsheets

Create ISO 8601 date text in WPS Spreadsheets

Use the TEXT function in WPS Spreadsheets to format a date and join it with a fixed time string, then save the workbook in an Excel-compatible format.

  1. 1. Open the workbook: Open WPS Spreadsheets and select Open to load your workbook.
  2. 2. Check the date: Select A2 and make sure it contains a valid date value.
  3. 3. Enter the formula: Select an empty cell and enter =TEXT(A2,"yyyy-mm-dd")&"T00:00:00".
  4. 4. Save the result: Press Enter, then use File > Save As and choose XLSX if you need an Excel-compatible workbook.
Format dates as ISO 8601-style text with a formulaOpen and save Microsoft Excel XLSX filesUse a familiar spreadsheet interfaceWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does my concatenated date appear as a number?

Excel stores dates as serial numbers. Use =TEXT(A2,"yyyy-mm-dd") before joining the date to other text.

Is the formula result a date or text?

The concatenated result is text, even though it looks like a date and time. Keep the original date cell if you need to perform date calculations.

How can I include a time stored in another cell?

If B2 contains a valid Excel time value, enter =TEXT(A2,"yyyy-mm-dd")&"T"&TEXT(B2,"hh:mm:ss") in an empty cell.

Does the result include a time zone?

No. A value such as 2019-01-01T00:00:00 has no time-zone indicator. Add an appropriate indicator only if you know the intended time zone.