excel to matlab dates

Hello,
I import an excel into matlab with importfile. The date in excel is 30/04/2017 but when I convert the excel date to matlab format with x2mdate function i get wrong result 08/10/1935. How can I fix this?
Thanks

4 个评论

Please attach your xls - file
have u tried x2mdate(ExDates, 1,'datetime') ??
I tried it and i get the same error
Actually I get 9/10/1939

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Calendar 的更多信息

提问:

2017-5-4

评论:

2017-5-4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by