Extract Cell Data Contain With Char
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, Community
I just have a simple answer... How to extract this cell data :
fg = '{'07-Apr-2022'; '08-Apr-2022'; '09-Apr-2022'}';
Into :
fg = [07-Apr-2022; 08-Apr-2022; 09-Apr-2022] (datetime array)
Thank you so much...
0 commentaires
Réponse acceptée
KSSV
le 21 Avr 2022
fg = {'07-Apr-2022'; '08-Apr-2022'; '09-Apr-2022'};
datetime(fg)
4 commentaires
Deepak Gupta
le 21 Avr 2022
Can you try
fg = datetime(fg,'InputFormat','dd-MMM-yyyy')
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Dates and Time dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!