Concatenate a Date as ISO 8601 Text in Excel
Question details
Combine a date with static text to produce an ISO 8601-style text value.

- 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.
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.
Use TEXT to format the date before concatenating
Use this method when the separator and time are stored as text in separate cells.
Enter the date in A2, T in C2, and 00:00:00 as text in D2.
Select an empty cell and enter =TEXT(A2,"yyyy-mm-dd")&C2&D2.
Press Enter. If A2 contains January 1, 2019, the result is the text value 2019-01-01T00:00:00.

Add a fixed time directly in the formula
Use this shortcut when every date should be followed by the same time.
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. Open the workbook: Open WPS Spreadsheets and select Open to load your workbook.
- 2. Check the date: Select A2 and make sure it contains a valid date value.
- 3. Enter the formula: Select an empty cell and enter =TEXT(A2,"yyyy-mm-dd")&"T00:00:00".
- 4. Save the result: Press Enter, then use File > Save As and choose XLSX if you need an Excel-compatible workbook.

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.




