different excel version time convert problem

3 views (last 30 days)
Hi all
I was using excel 2007 version and Matlab2010 on my windows. I have excel table and for importing time I was using datenum(such as datenum('25/05/1970','dd/mm/yyyy')) function. It was working perfectly.
Now I changed my excel version 2015 and Matlab 2016 working on Mac. Now this excel version understanding my times as 25654, 25754...
How I can convert time?

Accepted Answer

Marc Jakobi
Marc Jakobi on 5 Oct 2016
You may have to check the language setting or the formatting of the date on your mac
  1 Comment
davit petraasya
davit petraasya on 13 Oct 2016
Thank Marc, yes it seems it was formatting problem.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!