Datenum function and conversion
조회 수: 14 (최근 30일)
이전 댓글 표시
I am using the Datenum function in my code, and my instructor has asked me to use the data in milliseconds. The result of the Datenum is in days, correct? So, I just need to convert the result to miliseconds (1 day = 86400000 ms), am I right?
댓글 수: 0
채택된 답변
James Tursa
2015년 6월 15일
편집: James Tursa
2015년 6월 15일
Yes, datenum values are in days, and there are 86400000 ms in a day. So your conversion is correct. You might be interested in this related post:
댓글 수: 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!