confusing datestr and datetime month and minutes formating
1 回表示 (過去 30 日間)
古いコメントを表示
In the function datestr, identifier for month is 'mm' and identifier for minutes is 'MM'.
However, in the function datetime is it different. Identifier for month is 'MM' and identifier for minutes is 'mm'.
Why?
0 件のコメント
採用された回答
Jan
2017 年 12 月 7 日
編集済み: Jan
2017 年 12 月 8 日
MathWorks tried to make it more consistent in the new datetime objects. [EDITED] See the link to Loren's blog posted by Steven Lord.
1 件のコメント
Steven Lord
2017 年 12 月 7 日
Or read this Answer, in which I included a link to a post on Loren's blog where we answer that question.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!