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
Show older comments
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);
Accepted Answer
More Answers (1)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
