How can I convert the serial date numbers in a text file to calendar dates
조회 수: 1 (최근 30일)
이전 댓글 표시
I have written a code to extract the x and y data from a plot
but the x data comes out as a serial date number and time and i'd like it in calendar months and time
댓글 수: 4
답변 (1개)
Star Strider
2021년 7월 21일
It appears to be a MATLAB date number, and if so, maps to 1 Jan 1979 10:00:00 —
DT = datetime(722816.416666667, 'ConvertFrom','datenum')
.
댓글 수: 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!