Separate year in data

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

 Risposta accettata

Andrei Bobrov
Andrei Bobrov il 18 Mag 2016
Modificato: Andrei Bobrov il 18 Mag 2016
Let A - you data
year1 = year(datenum(A,'dd.mm.yyyy'))

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by