contradicting date identifier definitions in datestr and datetime
조회 수: 3 (최근 30일)
이전 댓글 표시
I find it highly confusing that the date identifier in the commands datetime and datestr use contrasting meanings for upper case and lower case:
- minutes is MM
- months is mm
- seconds is SS
- minutes is mm
- months is MM
- seconds is ss
댓글 수: 0
채택된 답변
Steven Lord
2022년 11월 21일
That's correct. This is mentioned in the description of the Format property on the datetime documentation page.
If I recall correctly the specifiers in datenum predate the creation of the Unicode Technical Standard linked in that section of the documentation while the specifiers in datetime conform to that industry standard.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
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!