how to convert string date number to double?

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일

0 개 추천

datenum(val)
Or
Datevec(val)

카테고리

도움말 센터File Exchange에서 Dates and Time에 대해 자세히 알아보기

질문:

Bum
2013년 1월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by