why "datestr" in matlab and date format cell in excell doesnt match?
古いコメントを表示
Hi all, I have a date number , say 40667. When I am using datestr in matlab , it gives me 5 May, however I have the same number 40667 in excel sheet, when I use the date cell format(by clicking right->format cells-> date) , it gives me 4 May. However as far as I know the 4 May should be the right one. does anybody know why Matlab does not gives me the same result? and why there is mismatch between Matlab and Excel? Appreciated !
採用された回答
その他の回答 (1 件)
saharsahar
2013 年 6 月 12 日
0 投票
4 件のコメント
per isakson
2013 年 6 月 13 日
x2mdate belongs to the Financial Toolbox, which I don't have access to now.
xx=num(1:end,19);MATLABDate = x2mdate(xx,1); looks ok to me.
What does
which x2mdate
say?
saharsahar
2013 年 6 月 15 日
per isakson
2013 年 6 月 15 日
saharsahar
2013 年 6 月 23 日
カテゴリ
ヘルプ センター および File Exchange で Language Fundamentals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!