Transform into a Matlab datetime format
조회 수: 1 (최근 30일)
이전 댓글 표시
I have an entry "2017-10-26 06-PM" How can I transform this entry into a datetime format that Matlab can understand?
댓글 수: 0
채택된 답변
Sean de Wolski
2018년 6월 14일
편집: Sean de Wolski
2018년 6월 14일
datetime("2017-10-26 06-PM",'InputFormat','yyyy-MM-dd hh-aa')
댓글 수: 3
Guillaume
2018년 6월 14일
exactly the same way:
yourtable.columnname = datetime(yourtable.columname, 'InputFormat', 'yyyy-MM-dd hh-aa')
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!