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

 Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 18 Mai 2016
Modifié(e) : Andrei Bobrov le 18 Mai 2016

0 votes

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

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by