Azzera filtri
Azzera filtri

how to convert string date number to double?

4 visualizzazioni (ultimi 30 giorni)
Bum
Bum il 26 Gen 2013
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?

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 27 Gen 2013
Modificato: Azzi Abdelmalek il 27 Gen 2013
datenum(val)
Or
Datevec(val)

Categorie

Scopri di più su Dates and Time in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by