how to convert string date number to double?

조회 수: 4 (최근 30일)
Bum
Bum 2013년 1월 26일
I used 'datenum' to convert date to number. And then used datestr to see the date and the result is as follows.<123x11 char>
val =
01-Jan-1961
02-Jun-1965
.....
How can I convert this character to double?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 1월 27일
편집: Azzi Abdelmalek 2013년 1월 27일
datenum(val)
Or
Datevec(val)

카테고리

Help CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by