![Time.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200738/Time.png)
every time i import an excel file the time column changes to some values and i dont know how to proceed futher like how to convert it back to time ,add,subtract please help
4 views (last 30 days)
Show older comments
0 Comments
Answers (1)
rakbar
on 14 Jan 2019
If you use MATLABs "Import Data" feature, next to the time column, there is a small down arrow. click on it, and you can set your varaible type (e.g., datetime, etc.). Then export it as a functions, script, or variable into your workspace.
![Time.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200738/Time.png)
See Also
Categories
Find more on Data Import from MATLAB 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!