Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
why datestr did not give reasonable output?
조회 수: 1 (최근 30일)
이전 댓글 표시
hi, The range of my data is 2005 to Ontober 2007. when I extracted min and max, I got
709277 and 733325 why when use this function datestr(733325)
I will get : 10-Oct-2007
it is ok . and when use
datestr(709277)
ans =
07-Dec-1941
Thanks in advance
댓글 수: 11
Walter Roberson
2012년 12월 2일
I am not clear: are you saying that there is a date of 07-Dec-1941 in the original file? If so then there is no problem, datestr() is just responding correctly for the data.
If there was no 07-Dec-1941 in the original file, then we will need to know how you converted the dates.
답변 (1개)
Jan
2012년 11월 26일
The answer 07-Dec-1941 is not only reasonable, but also correct. It is 24048 days before the 10-Oct-2007, as the serial date format implies.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!