I have a colume with DD.MM.YYYY now I want to get YYYY in this colume. How can I do it with matlab? Thank you a lots

 Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 18 Mai 2016
Bearbeitet: Andrei Bobrov am 18 Mai 2016

0 Stimmen

Let A - you data
year1 = year(datenum(A,'dd.mm.yyyy'))

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by