how to convert string date number to double?
7 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Azzi Abdelmalek
on 27 Jan 2013
Edited: Azzi Abdelmalek
on 27 Jan 2013
datenum(val)
Or
Datevec(val)
0 Comments
See Also
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!