Date and time do not wrap in excel.

1. Displays the date and time line by line, and automatically wraps, that is, displays the date and time in one line in the cell.

2. Set the cell format, number tab, customize, enter emmdd, hold down alt, press 1 and 0 of the numeric keypad in turn, loosen alt minus, and continue to enter hhmmss.

3. Select the alignment tab, check word wrap and confirm.