How to reverse datenum?
이전 댓글 표시
SOS: How to convert serial date number back to date, in the format of mm/dd/yyyy?
Thanks SO MUCH!!
채택된 답변
추가 답변 (2개)
Walter Roberson
2011년 6월 16일
datestr(serialnum, 'MM/DD/YYYY')
댓글 수: 2
Zoe
2011년 6월 16일
George Scott
2018년 7월 17일
'mm/dd/YYYY' ('MM' is a minutes format, not months)
Peter Perkins
2018년 8월 3일
0 개 추천
The longer answer is, Don't use datenum and datestr at all if you can avoid it. Use datetime, no conversion back and forth between number and text necessary.
카테고리
도움말 센터 및 File Exchange에서 Dates and Time에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!