When using a writetable to write a table file containing data in datetime format to Excel, the saved datetime data in Excel is not in the same format as the datetime data
Ältere Kommentare anzeigen
The table data is as follows:

Use the following writetable function code to save data to Excel,the exported result is shown in the following figure:

The time display is incomplete.
How to set the exported time format to be the same as the original data?
writetable(T, filePath);
Akzeptierte Antwort
Weitere Antworten (1)
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

